On Wed, May 06, 2015 at 04:10:49PM +0000, Andreas Schultz wrote: > I have a router that gets it default route from OSPF from two different > routers. Both send different metrics, but ospfd is always importing > both routes. I've tried playing with different metrics and metric-type > without success. > > As far as I can tell the metric are received correctly > (show ip ospf database external contains the correct metrics), but they > are not applied. > > Any idea????
It's probably correct behaviour -- only the first route/LSA entry is used, but I'm guessing its forwarding address is reachable with equal cost through the two nexthops you have in the final table. > LS Type: AS-external-LSA > Link State ID: 0.0.0.0 (External Network Number) > Advertising Router: 172.20.16.49 > Metric Type: 1 > Metric: 50 > Forward Address: 172.20.16.1 > > LS Type: AS-external-LSA > Link State ID: 0.0.0.0 (External Network Number) > Advertising Router: 172.20.16.50 > Metric Type: 1 > Metric: 100 > Forward Address: 172.20.16.1 The second LSA should indeed be ignored; however, the first LSA uses 172.20.16.1 as nexthop, which in turn is probably reached at equal cost through .9 and .10, resulting in both paths installed. > O>* 0.0.0.0/0 [110/70] via 172.29.0.9, vnf-xe1p1, 00:22:13 > * via 172.29.0.10, vnf-xe1p1, 00:22:13 Can you show the route table entry for 172.20.16.1 to confirm this? -David _______________________________________________ Quagga-users mailing list [email protected] https://lists.quagga.net/mailman/listinfo/quagga-users
