how to set priority of routers in ospf

David Rohleder davro at ics.muni.cz
Tue Oct 27 19:45:01 CET 2009


Martin Kraus píše v Út 27. 10. 2009 v 19:21 +0100:
> Hello. I'm running ospf from a router against two other routers on the same
> ethernet segment. Those two routers a both capable of routing given prefixes,
> but I prefer one of them to do the actual routing and use the other one as a
> backup router in case of emergencies. How can I set such a preference? I
> thought of using ospf_metric2, but it is supposed to work only when
> ospf_metric1 isn't set, which is (checked using show route all). 
> For some reason the configuration does what I need, but I can't figure out
> why. Could anyone shed some light on this?
> 
> thanks
> mk

I think this is not feasible using OSPF. You could possibly split this
one broadcast network to two nonbroadcast networks and then define
different costs on each of them.

David 




More information about the Bird-users mailing list