static default route not always pushed to kernel (2.0.4)
Kenth Eriksson
Kenth.Eriksson at infinera.com
Mon Apr 29 14:14:56 CEST 2019
Hi!
There are cases where bird does not push a static default route to the
kernel. One way to see this is as follows;
A default route from the kernel
bird> show route for 0.0.0.0
Table master4:
0.0.0.0/0 unicast [kernel1 13:46:07.958] (215)
via 10.210.137.1 on eth1
Add two static default routes
bird> show static
0.0.0.0/0
via 10.210.137.1
0.0.0.0/0
via 192.168.120.1 (dormant)
bird>
The static default route has higher preference, hece I expected it to
be pushed to the kernel. But it is not...
bird> show route for 0.0.0.0
Table master4:
0.0.0.0/0 unicast [kernel1 13:46:07.958] (215)
via 10.210.137.1 on eth1
bird>
Next remove both static routes, configure, add one of them back again
and both are shown.
bird> show route for 0.0.0.0
Table master4:
0.0.0.0/0 unicast [static1 14:13:16.762] * (255)
via 10.210.137.1 on eth1
unicast [kernel1 13:46:07.958] (215)
via 10.210.137.1 on eth1
bird>
Thanks,
Kenth
More information about the Bird-users
mailing list