Link to home
Start Free TrialLog in
Avatar of cuadrag_oscar
cuadrag_oscar

asked on

One Network Adapter Two Diferent Gateways

In windows XP this is possible but sometimes it doesn't work right, what's the right configuration when using two diferent networks. One is for our Intranet the other for Internet Access.

Kind regards
ASKER CERTIFIED SOLUTION
Avatar of tmcguiness
tmcguiness

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
tmcguiness is correct.  A gateway is just a catch-all for routes not specified.  There should be only one.  Much like the highlander.
Avatar of muhalok
muhalok

First regarding gateways and static routs:

1. Gateway is an essential part of any route.
2. The amount of gateways is not limited.
3. For internal access, in case u have only 1 subnet - you don't need a gateway, since you are in the same subnet.
4. "Default Gateway" says go through me in case u didn't find any appropriate route in a routing table. But you can have more tha 1 default gateway, since you have another parameter called "metric" which can be assigned to a default gateway or a static route: The machine will try to use gateways in the table according to the metric: 1 first, 2 second, etc.

5.NOTE: u can also use metric for regular static routes.

I think accoring to the question, you'll need only 1 default route - the one that will help u access the Inet.
For internal, no need - or just define a static route. (Don't forget to add "-p" to make it persistent).