ospf config help

Hello

I have 2 routers & mail server A–B–C

B is my mail server, C is to the internet, A is backup internet.

I use ospf but mailserver always chooses A for defualt gateway when I want C

I tryied changing Prority, Cost but to no luck.

Is 1 high prority and 255 low or the other way around?

Can anyone give me config tips?

Thanks

What OSPF software are you running on the mail server?

Regarding priority, this parameter is not meant to influence the preferrability of routes but the chance/egilibility of OSPF routers to become DR/BDR (designated routers) of an area.

What you’re looking for is the cost parameter, and that can be set per interface, where higher cost means less-preferable for a route that points to that interface.

–Tom

Thanks

I am using Quagga.

I must be doing something wrong.
On one server (test) it picked the correct gateway then I tested fallover, it worked perfect, but now wont fall back to the original

:slight_smile: