02-27-2002 09:31 PM - edited 03-01-2019 08:40 PM
Does anyone know of a way for a router to originate a default route only if a specific interface link status is up. In other words, if E0 is up, then the router will send a default route to its E1 interface. If however E0 goes down, the router stops advertising itself to be the default router via its E1 interface.
02-27-2002 09:46 PM
What routing protocol are you using?
I haven't tried this but something along these lines should work.
If you redistribute the default route into the protocol you use with a route-map with a "match interface e0" then the default route should only be redistributed if e0 is up.
03-07-2002 08:28 AM
You can also do conditional defaults in ospf using a route map after the default information originate command. Or you could point the static at the interface you are trying to track.
Some new tracking stuff is coming into ios that will (I hope) make this sort of thing easier, and EIGRP should be getting the defualt information originate command at some point, I think.
Russ
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide