On Mon, Apr 08, 2013 at 10:13:43AM -0400, [email protected] wrote:
> We have a primary and a backup to a Mikrotik router.  Primary is OSPF
> and backup is BGP.  Setting a BGP route filter with a 255 distance for
> the range doesn't help.  Traffic prefers the BGP route even though
> OSPF distance is shorter.  (All within our network)
>
> Any idea why this is happening?  All routers are 5.24.

eBGP routes are installed into the router's routing table with a
metric of 20 by default.

OSPF routes are installed into the router's routing table with a
metric of 110 by default.

iBGP routes are installed into the router's routing table with a
metric of 200 by default.

The costs within the various routing protocols, only effect that
protocol's selection between multiple possible routes within that
protocol.

I suspect you need to pick OSPF or BGP for the routes, not both.
Which way is correct for your network? It depends on your network.

-- 
Scott Lambert                    KC5MLE                       Unix SysAdmin
[email protected]
_______________________________________________
Mikrotik mailing list
[email protected]
http://mail.butchevans.com/mailman/listinfo/mikrotik

Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

Reply via email to