Originally posted by: Nothinman
But you still can only have 1 'default' gateway at any one time. If you need a fail-over thing like that you either need 2 routers setup in a redundant fashion or dynamic routing software installed on the client that will change the routing tables when one link goes away.
No, you can most definately have 2 default routes at once.
Consider the below - Configure interface metric on Nic 1 to be 1, add default gateway pointing to FE0/0, lets say FE0/0 is 192.168.1.254. Configure interface metric on Nic 2 to be 2, add default gateway pointing to FE1/0, lets say FE1/0 is 192.168.2.254.
FE0/0-----SW1------Nic1
Router| |win2K box
FE1/0-----SW2------Nic2
Your routing table on the win2K box would look like:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.254 192.168.1.1 1
0.0.0.0 0.0.0.0 192.168.2.254 192.168.2.1 2
Now, all traffic is going out via NIC1. If your cable for NIC1 gets cut, disconnected, SW1 dies, etc - your link goes down for Nic1 and your routing table gets modified when the interface goes down. It would now look like the below and all traffic would be going out NIC 2 to your second default gateway:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.2.254 192.168.2.1 2
Beyond this, even on a single interface, you can have 2 default gateways, Win2K does support dead gateway detection for TCP. Not a great solution as UDP won't fail, and there is no mechanism to go back to the primary when it comes back up
dead gateway detection reference
-Dave
edit- attempt at a diagram sucked