Dead Gateway detection

barbary

Senior member
Apr 11, 2000
357
0
71
I have two gateways lets call them A and B.

If I define both as default gateways and give A a metric of 1 and B a metric of 2.

Then create EnableDeadGWDetect in the registry and set it to 1. (Amazing that none of the technotes that talk about dead gateway tell you it isn't on by default. Even though there is a technote to discribe how to switch it on in the registry)

I then unplug A from the wall and try and surf to a web page. It Fails over and uses Gateway B a tracert confirms it. I then plug A back in and unplug B. It goes back to using Gateway A ONCE.

After it has done this once the computer will never do it again. Any ideas why?
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
because windows has a hard time with multiple gateways.

What you need is somthing that can change the routing table on the fly. I didi this with a linux NAT router last year for a project. It would ping the gateway's every 30 seconds or something, and if it hit a certian threshold, it would change/remove/add routes. Did it in perl, but I can't seem to find my files
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
windows doesn't do dead gateway detection or multiple gateways.

why? because it's windows. Their stack has never conformed to the standards.