Public bug reported: If for instance you learn a DST route of 172.18.1.1/32 from your BGP neighbor with a metric of 0, and you add a static route of 172.18.1.1/32 with a metric of 20, the BGP route disappears out of the kernel routing table. This is normal behavior.
So if you statically add a route of 172.18.1.1/32 with a metric of 20, another of 172.18.1.1/32 with a metric of 25 and another with a metric of 35 the BGP route is still missing. Now when you delete any of the three routes, for instance the one with the metric of 25. Qaugga's BGP daemon adds the BGP route back into the routing table, thinking the route was deleted. Not sure if this is the desired functionality or a bug. Example: BGP learned route: route -n | grep 172.18.1.1 172.18.1.1 10.19.0.1 255.255.255.255 UGH 0 0 0 eth3 Adding static route with metric: route -n | grep 172.18.1.1 172.18.1.1 10.19.0.1 255.255.255.255 UGH 20 0 0 eth3 Adding more static routes: route -n | grep 172.18.1.1 172.18.1.1 10.19.0.1 255.255.255.255 UGH 20 0 0 eth3 172.18.1.1 10.19.0.1 255.255.255.255 UGH 25 0 0 eth3 172.18.1.1 10.19.0.1 255.255.255.255 UGH 35 0 0 eth3 Deleting one of the static routes: 172.18.1.1 10.19.0.1 255.255.255.255 UGH 0 0 0 eth3 172.18.1.1 10.19.0.1 255.255.255.255 UGH 25 0 0 eth3 172.18.1.1 10.19.0.1 255.255.255.255 UGH 35 0 0 eth3 ** Affects: quagga (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1521621 Title: Quagga BGP and static routes with metric bug To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/quagga/+bug/1521621/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs