General discussion

Locked

Gateway

By pearlie ·
We have 2 routers, the first one serves as a gateway in our corporate office for our internet access T1, and the other router serves as another gateway to an offsite server. The main server has a static address with a gateway IP address for the internet router.

Our goal is for a workstation to be able to continue access to the internet as well as be able to ping the offsite server - accessing both routers as a gateway.

How can a workstation using DHCP access both gateways?

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Gateway

by flan In reply to Gateway

i'm assuming the two gateways have two different ranges of ip address...

in theory yes (i want to do the same thing, but you get run into security issues having created a route between the two gateways, but if you don't worry about that stuff, it's okay) but i would recommend installing another nic card. and if the two gateways are physically separated (no sharing of hubs or switches) just connect one nic to the repective LAN, and dhcp will do the rest. but if both dhcp servers are on the same LAN you'll run into trouble where the computer won't know which dhcp to get an address from. you'll need to configure (the subnet) for each nic card (which defeats the purpose of dhcp)

so after all that, just manually enter the other ip address into the computer

Collapse -

Gateway

by pearlie In reply to Gateway

Poster rated this answer

Collapse -

Gateway

by scott In reply to Gateway

Router A is the internet server, router B is the gateway. Create a static route on router A for the network of the offsite server using router B's ethernet interface as the destination. All requests for the offsite server will be forwarded to routerB for further forwarding to the offsite server.

It's pretty simple send me a note if this is confusing.

Collapse -

Gateway

by pearlie In reply to Gateway

Poster rated this answer

Collapse -

Gateway

by NetTek In reply to Gateway

You can set the default gateway of the workstations to the Internet router IP address. You can then use a login script to tell the workstations where to find the offsite server that is connected via the second router.
Put the following statement in the users' login script:

route.exe add 209.123.24.0 mask 255.255.255.0 206.5.77.129

209.123.24.0 is the Net ID (not the IP address) of the offsite server.
mask 255.255.255.0 is the subnet mask for the offsite server
206.5.77.129 is the ip address for the router that connects the the offsite server

Collapse -

Gateway

by pearlie In reply to Gateway

Poster rated this answer

Collapse -

Gateway

by pearlie In reply to Gateway

This question was closed by the author

Back to Windows Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums