Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

My gateway for the internet is 192.

Status
Not open for further replies.

moose1970

IS-IT--Management
Oct 2, 2001
2
US
My gateway for the internet is 192.168.20.3 I have a router here that is 192.168.20.5. I have four remote locations that have routers 192.168.30.5, 192.168.40.5, 192.168.450.5, and 192.168.60.5. I use a batch file in this building to get an application to an ip address route add ***.***.***.*** 192.168.20.3. when in this building it works fine and people can use the application. In other buildings it doesn't work. Do I need to put the IP address of the router for that location as the final IP? I did a tracert from one of my remote locations and got 192.168.50.5, then 10.0.66.254, then 192.168.20.3. Any help out there for me?
 
Hi,









From a PC, all routes must be pointed at either an interface in the PC (e.g. another ethernet card) or at the address of a machine/router on the same subnet. So if a machine in another building is on 192.168.50.x then (assuming it has only one card with that address) all routes including the default gateway must be on 192.168.50.x as well. Unless you have multiple gateways on the same subnet (as you do on the internet one) you would just set the client PC's default gateway to the address of the router in each building. E.g. a 192.168.50.x machine would have a default gateway of 192.168.50.5 .
Then the routers take over....








Hope this makes sense.



Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top