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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2 Default Gateways - How does it decide which to use?

Status
Not open for further replies.

Wonus

Technical User
Joined
Sep 16, 2001
Messages
1
Location
ZA
Hi,

I know this improper configuration, but how does NT decide what default gateway to use when there are two available and configured? We have two identical servers, but they have exhibited different behaviour concerning this issue.
 
don't use it,
add static routes instead

add route -p destination_subnet MASK destination_subnet_mask gateway_address

-> you can create as many static routes as you want, each pointing to a gateway address ---------------------------------------------------------------------
I have not failed, I've just found 10,000 ways that don't work
---------------------------------------------------------------------
Peter Van Eeckhoutte
peter.ve@pandora.be
*:->* Did this post help? Click below to let me know !
 
HI!

If you describe in details your design and configuration, it will be much easier to answer.

Anyway, AFAIK, NT uses the first defined router as default, and the other routers in these events:

* The default router is not available (I don't know the timeouts now).

* The client sends a packet to an address, that the router knows it is better to use the other router.
(The router should know about the other one using preconfigured static routes and/or routing protocol).
Then the router sends to the client an ICMP redirect message pointing to the other router.
The NT client updates its routing protocol, and now uses the other router for the rest of comunication to the same target network/host.
This update normaly stays until you restart the NT machine.
You can see the new route using the command
ROUTE PRINT
Note: This can happen even if the client is not configured with the second router IP address, since it is dynamicly learned from the default gateway.


In general, use the
ROUTE PRINT
command to debug and learn what happens.

Consult a routing expert if you have problems.

Bye

Yizhar Hurwitz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top