OSPF Routes
Ondrej Zajicek
santiago at crfreenet.org
Mon Nov 11 23:30:15 CET 2019
On Mon, Nov 11, 2019 at 05:12:28PM +0100, Chris Althage wrote:
> I cannot get my OSPF routes to show up in my Linux Routing table. I have
> tried multiple configurations, but the routes never populate into Linux.
> They are present in the Bird Interface, but not outside of Bird. I'm sorry
> for asking a super easy question here, but I cannot find any good basic
> information on OSPF configurations online.
Default route failed to export, because there is already static default
route in kernel. BIRD does not overwrite existing routes in kernel.
You should use 'metric 32' kernel protocol option to avoid collisions (or
use BIRD 2.0, where this is default). That allows routes to be exported
to kernel without error, but the existing routes would still have higher
priority.
> Here is my BIRDC output:
>
> bird> show route
> 0.0.0.0/0 via 192.168.100.3 on eth0 [ospf1 16:05:29] ! E2 (150/1/1) [1]
> [192.168.100.3]
> 192.168.100.0/29 dev eth0 [direct1 16:04:07] * (240)
> dev eth0 [ospf1 16:04:08] I (150/1) [1.2.3.4]
> 192.168.200.0/29 dev eth1 [direct1 16:04:07] * (240)
> dev eth1 [ospf1 16:04:08] I (150/1) [1.2.3.4]
>
> And my Linux Output:
>
> ubuntu at ubuntu:~$ ip route
> default via 192.168.200.2 dev eth1 proto static
> default via 192.168.100.1 dev eth0 proto static
> 192.168.100.0/29 dev eth0 proto kernel scope link src 192.168.100.2
> 192.168.200.0/29 dev eth1 proto kernel scope link src 192.168.200.1
--
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
More information about the Bird-users
mailing list