Discussion Locked

Default Gateways...

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have setted up two default gateways; one for SDSL service (Internet - This have the priority on the default gateways list on TCPIP properties) and the second one for frame relay connection (for Intranet applications). Almost all computers (end users) have just the first one default gateway but I need some of them to point to both Gateways. If I try to ping a machine trough the ms-dos prompt I get no connection till I change the gateway priority. How can I get these gateways working at the same time (to get Internet an Intranet connection).

5 replies

by mckaytech

You've really only got two options: have a gateway router that can route to both DSL and FR or use a program like Netswitcher that can change IP settings on the fly.

By definition, there cannot be two gateways on a workstation at the same time.
paul

by nettek

Try the following: Leave the gateway setting for the Internet, and remove your frame relay gateway setting. Use a Route statement at the command prompt to provide your PCs with the second gateway.
For example:
c:\route.exe -p add 192.168.1.0 mask 255.255.255.0 192.168.0.130
The "-p" allows the route to remain persistant after reboot.
192.168.1.0 would be the network ID of the network you are trying to reach over your frame relay.
255.255.255.0 is the subnet mask of the network you are trying to reach.
192.168.0.130 is the IP address of your frame relay router (the second gateway).

This will, in effect, tell those PCs to use your internal gateway to get to your Intranet sites. All other requests will go out the default gateway.You can add multiple route statements to get to multiple subnets, and they can be run from a login script.

by támer

Good. I already tried this before but I?m getting error #87 when not using the last parameter and when using all(check the command 'route' / actually I?ve verified the mask and it's the right one).

This discussion is closed to new replies.