Solved Help on creating routes for two gateways

Inoxidavel

New member
Local time
8:20 AM
Messages
5
Hi guys,

I searched in the forum and I couldn't find the answer to my problem, so here it is:

I need to manually configure a route in one computer that is connected to different networks, with two different gateways, one is on a cabled interface, the other uses a wireless adapter. The wireless connection is for internet, and the proper configuration is this:

Windows 7 x64
IP Address: 10.190.49.111 (or any other termination needed)
Mask: 255.255.255.0
Gateway: 10.190.49.254

The cable connection is for a dedicated server that stores images from 10 IP cameras. Any computer connected and configured in this network can use a specific program for real time monitoring. The config is as follows: (I did not configured this server)

Windows Server 2008 R2
Cameras: 162.16.0.50 to 59
IP Address: 167.200.210.133
Mask: 255.255.255.252
(things are messy on the server, I can post a Screenshot if needed)

A computer perfectly working and monitoring the cameras uses this configuration:

IP Address: 162.16.0.15
Mask: 255.255.255.0
Gateway: 162.16.0.10 or 167.200.210.133, both works
(This computer do not access internet, and is not required)

THE OBJECTIVE:
Add a computer connected to the camera server with cable interface, and connected to the internet with the wireless adapter.
Already tried to manually add a route for the internet/cameras with no succcess.

Any ideas ?
I can give more details if needed.
Thanks in advance and sorry for my english mistakes.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Myself
OS
Windows 7 Ultimate x64
CPU
Celeron 1.8GHz
Motherboard
Gigabyte
Memory
4GB DDR2
Graphics Card(s)
Onboard
Sound Card
Onboard
Monitor(s) Displays
1x ProView 17" CRT
Screen Resolution
1024x768
Hard Drives
1x IDE Maxtor 80GB; 1x SATA Samsung 250GB
PSU
Unknown
Case
None
Cooling
Standard Intel, with a broken screw
Keyboard
Windows 98 style
Mouse
Optical generic mouse
Internet Speed
3Mbps, downloads at 300~350kbps
Antivirus
None
Browser
Chrome
Odd that you can not set what you want with each adapter, can you post a screen shot of your network connections window. Also try leaving the gateway blank for only the lan connection so that all internet traffic goes though the wireless only and resolves correctly. Since you have two diff subnets it should just in theory work.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
10 Pro x64
CPU
Ryzen 9 3900X
Motherboard
Asrock x370 Tachi
Memory
64GB(4x16GB) DDR4
Graphics Card(s)
EVGA 1080ti FTW3
Sound Card
ASUS Xonar Essence STX (V4 Bursons), ODAC rev B, NFB-11, O2
Monitor(s) Displays
3xASUS PB278Q/R, Optoma HD142X
Screen Resolution
3x1440p, 1080p
Hard Drives
512GB 850 EVO(OS, Programs)
4TB (Movies)
3TB (Downloads)
3TB (Programs)
1TB HDD (Games)
2x6TB R1 (videos)
PSU
AX760
Case
Fractal Define R5
Cooling
NH-D15S
Keyboard
Massdrop Ctrl with Box Navy's
Mouse
G903, Alioth XXL Mat
Internet Speed
280/40
Antivirus
MBAM, ESET
Browser
Canary 64 Bit
Other Info
I also own a Thinkpad P50 Xeon 4K, X220T, X1C5
Hi again
Here are some screenshots of the server configs:

server.png


Don't know why there are three IPs on the server o.O
advanced.png

advanced2.png


And here a simple schematic of my needs:
(Ignore my Da Vinci skills)
Sem_t_tulo.png


Btw, I tried to leave an empty gateway for the Lan connection with the server, but then
I can't automatically get the gateway for the server
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Myself
OS
Windows 7 Ultimate x64
CPU
Celeron 1.8GHz
Motherboard
Gigabyte
Memory
4GB DDR2
Graphics Card(s)
Onboard
Sound Card
Onboard
Monitor(s) Displays
1x ProView 17" CRT
Screen Resolution
1024x768
Hard Drives
1x IDE Maxtor 80GB; 1x SATA Samsung 250GB
PSU
Unknown
Case
None
Cooling
Standard Intel, with a broken screw
Keyboard
Windows 98 style
Mouse
Optical generic mouse
Internet Speed
3Mbps, downloads at 300~350kbps
Antivirus
None
Browser
Chrome
Is pc 1 only for the camera, and does your router support vlans? Why does the drawing have two connections to the switch? EDIT: also does the server get internet or is it strictly intranet?
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
10 Pro x64
CPU
Ryzen 9 3900X
Motherboard
Asrock x370 Tachi
Memory
64GB(4x16GB) DDR4
Graphics Card(s)
EVGA 1080ti FTW3
Sound Card
ASUS Xonar Essence STX (V4 Bursons), ODAC rev B, NFB-11, O2
Monitor(s) Displays
3xASUS PB278Q/R, Optoma HD142X
Screen Resolution
3x1440p, 1080p
Hard Drives
512GB 850 EVO(OS, Programs)
4TB (Movies)
3TB (Downloads)
3TB (Programs)
1TB HDD (Games)
2x6TB R1 (videos)
PSU
AX760
Case
Fractal Define R5
Cooling
NH-D15S
Keyboard
Massdrop Ctrl with Box Navy's
Mouse
G903, Alioth XXL Mat
Internet Speed
280/40
Antivirus
MBAM, ESET
Browser
Canary 64 Bit
Other Info
I also own a Thinkpad P50 Xeon 4K, X220T, X1C5
Yes, PC1 is only for the cameras and can be configured with 162.16.0.10 or 167.200.210.133, both works.
The router is a Mikrotik Routerboard 1100, I'm not sure, but probably supports vlan.
The two connections are one for internet and cameras, the router is probably separating the traffic.
Yes, the server receives internet and cameras, but the internet is not the same of the PC2 connection.

Thanks for the attention
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Myself
OS
Windows 7 Ultimate x64
CPU
Celeron 1.8GHz
Motherboard
Gigabyte
Memory
4GB DDR2
Graphics Card(s)
Onboard
Sound Card
Onboard
Monitor(s) Displays
1x ProView 17" CRT
Screen Resolution
1024x768
Hard Drives
1x IDE Maxtor 80GB; 1x SATA Samsung 250GB
PSU
Unknown
Case
None
Cooling
Standard Intel, with a broken screw
Keyboard
Windows 98 style
Mouse
Optical generic mouse
Internet Speed
3Mbps, downloads at 300~350kbps
Antivirus
None
Browser
Chrome
Sorry been busy, I wanted to let you know though that this is starting to get over my head. I do not know the perfect option you should use so I don't want to start suggesting things that would inadvertently mess up your CAM server. You might want to try to hit up a forum specific to networking questions that would know better. From what I can gather it has to do with your subnets but they seem like they are in order. I'm currently studying this stuff at the moment for the Network+, but your issue is confusing me for some reason.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
10 Pro x64
CPU
Ryzen 9 3900X
Motherboard
Asrock x370 Tachi
Memory
64GB(4x16GB) DDR4
Graphics Card(s)
EVGA 1080ti FTW3
Sound Card
ASUS Xonar Essence STX (V4 Bursons), ODAC rev B, NFB-11, O2
Monitor(s) Displays
3xASUS PB278Q/R, Optoma HD142X
Screen Resolution
3x1440p, 1080p
Hard Drives
512GB 850 EVO(OS, Programs)
4TB (Movies)
3TB (Downloads)
3TB (Programs)
1TB HDD (Games)
2x6TB R1 (videos)
PSU
AX760
Case
Fractal Define R5
Cooling
NH-D15S
Keyboard
Massdrop Ctrl with Box Navy's
Mouse
G903, Alioth XXL Mat
Internet Speed
280/40
Antivirus
MBAM, ESET
Browser
Canary 64 Bit
Other Info
I also own a Thinkpad P50 Xeon 4K, X220T, X1C5
No problem man, appreciate your help so far.
The problem persists, I really don't want to put another computer just to browse the internet.
In fact, this is a ridiculous situation, because windows and programs can do almost anything in a computer
but I can't easily manage two connections -.-

Maybe I'm not using the route add -p correctly
All I need is to make windows understand that only the surveilance client needs to connect to that specific gateway in the LAN, the rest goes to the internet gateway on the WiFi

I will try to make other experiments, but any other idea would be good too.
Thanks
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Myself
OS
Windows 7 Ultimate x64
CPU
Celeron 1.8GHz
Motherboard
Gigabyte
Memory
4GB DDR2
Graphics Card(s)
Onboard
Sound Card
Onboard
Monitor(s) Displays
1x ProView 17" CRT
Screen Resolution
1024x768
Hard Drives
1x IDE Maxtor 80GB; 1x SATA Samsung 250GB
PSU
Unknown
Case
None
Cooling
Standard Intel, with a broken screw
Keyboard
Windows 98 style
Mouse
Optical generic mouse
Internet Speed
3Mbps, downloads at 300~350kbps
Antivirus
None
Browser
Chrome
Any reason to have Internet IPs for the cameras and the server?

In cmd:
Code:
route print |clip
It will not print anything, paste (CTRL+V) here after running it (or just "route print" and copy-paste manually).

Anyway, try setting the gateway metric for the wireless lower than that of the wired on your PC (the command will show the value, possibly 10 for wired), so that it is preferred. Also, since there is only a switch in between server and your PC, you don't even need a default gateway for the wired connection.

(Do you have any DHCP within the network? What IP does your wired connection get if so? If your cameras and server aren't being connected to from the Internet, then I have no idea why they were given those network IDs.)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Ultimate x64 SP1
CPU
AMD Phenom 2 1090T
Motherboard
Gigabyte GA-890FXA-UD5
Memory
2x8GB Kingston HyperX Fury Black 1600Mhz Unganged
Graphics Card(s)
MSI GTX 970 Gaming 4G
Sound Card
Realtek On-Board HD 7.1 Audio / Logitech G35
Monitor(s) Displays
3xAcer GD245HQ
Screen Resolution
1920x1080
Hard Drives
Samsung 850 Pro 512GB SSD - OS /
WD Caviar Black SATA 3 - 1 TBx2 - Dynamic RAID 0 /
WD Caviar Green SATA 2 - 640GBx2 - Dynamic RAID 0 /
WD Caviar Green SATA 2 - 640GB - Internal Backup /
Seagate Barracude SATA 3 - 3TB - External Backup/ Sync
PSU
HighPower 1000W
Case
Cooler Master HAF 932
Cooling
Noctua NH-D14
Keyboard
Logitech G19
Mouse
Logitech G500
Internet Speed
100/4 Mbit Cable (100GB quota)
Antivirus
ZoneAlarm Extreme Security / MBAM Pro / MBAE Free / SAS Free
Browser
IE 11 - Firefox - Chrome
Other Info
Logitech F710/ G27/ G940/ Z5500 // TrackIR 5 // Nvidia 3D Surround Vision
HI, sorry for my delayed answer.

I'm happy to say that I was able to accomplish my objective.
The server apparently has no DHCP, cause if I don't manually input the IP, mask and gateway It does not
recognizes the connection. So I set the values manually and let the WiFi get the configs automatically.

The configuration I used is this, on LAN, for the cameras:

IP: 167.200.210.134
Mask: 255.255.0.0
Gateway: 167.200.210.125

I'm assuming it was a problem with the Subnet Mask, not sure.

When the cameras worked fine, I connected the WiFI, and boom, it worked, both, at the same time.

Who knows....
Thanks guys for the help....
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Myself
OS
Windows 7 Ultimate x64
CPU
Celeron 1.8GHz
Motherboard
Gigabyte
Memory
4GB DDR2
Graphics Card(s)
Onboard
Sound Card
Onboard
Monitor(s) Displays
1x ProView 17" CRT
Screen Resolution
1024x768
Hard Drives
1x IDE Maxtor 80GB; 1x SATA Samsung 250GB
PSU
Unknown
Case
None
Cooling
Standard Intel, with a broken screw
Keyboard
Windows 98 style
Mouse
Optical generic mouse
Internet Speed
3Mbps, downloads at 300~350kbps
Antivirus
None
Browser
Chrome
Glad you got it resolved thought you had tried getting stuff manually, whoops. It's always the small things. ;)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
10 Pro x64
CPU
Ryzen 9 3900X
Motherboard
Asrock x370 Tachi
Memory
64GB(4x16GB) DDR4
Graphics Card(s)
EVGA 1080ti FTW3
Sound Card
ASUS Xonar Essence STX (V4 Bursons), ODAC rev B, NFB-11, O2
Monitor(s) Displays
3xASUS PB278Q/R, Optoma HD142X
Screen Resolution
3x1440p, 1080p
Hard Drives
512GB 850 EVO(OS, Programs)
4TB (Movies)
3TB (Downloads)
3TB (Programs)
1TB HDD (Games)
2x6TB R1 (videos)
PSU
AX760
Case
Fractal Define R5
Cooling
NH-D15S
Keyboard
Massdrop Ctrl with Box Navy's
Mouse
G903, Alioth XXL Mat
Internet Speed
280/40
Antivirus
MBAM, ESET
Browser
Canary 64 Bit
Other Info
I also own a Thinkpad P50 Xeon 4K, X220T, X1C5
Back
Top