Can't connect new router to OSPF

ico ico at petrzalka.net
Tue Feb 9 19:29:26 CET 2021


Hello,

I am reaching to you bird guys, because I run out of ideas, how to make 
my new router with bird 2.0.7 connect to the rest of OSPF routers.

The server is linux, kernel 5.10.12. IP config of interface connected to 
entwork:

$ ip a ls dev eth0
20: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP 
group default qlen 1000
     link/ether 38:ea:a7:12:11:f4 brd ff:ff:ff:ff:ff:ff
     inet 10.10.4.45/24 scope global eth0
        valid_lft forever preferred_lft forever

This interface is perfectly OK I believe, since I am connecting to the 
router via this interface. Bird's config (minimal, to show the problem):

$ cat /etc/bird/bird.conf
log stderr { debug, info, remote, warning, error, auth, fatal, bug };
router id 10.10.4.45;
debug protocols all;
protocol device {
     scan time 3;
}
protocol ospf ospfin {
     ipv4 {
         import all;
         export all;
     };
     tick 2;
     ecmp no;
     area 0.0.0.0 {
         stub no;
         interface "eth0" {
             hello 5; retransmit 2; wait 10; dead 20;
             authentication cryptographic;
             password "somepass";
             check link yes;
         };
     };
}

I run the bird 2.0.7 like this:

$ bird -c /etc/bird/bird.conf -f
2021-02-09 18:11:04.277 <WARN> Missing broadcast address for interface eth0
2021-02-09 18:11:04.277 <WARN> Missing broadcast address for interface eth1
2021-02-09 18:11:04.277 <INFO> Started

...and that's all, no more logs. Interface eth1 is 2nd interface with IP 
address on router, but not configured in OSPF.
In bird console I see this:

bird> show ospf neighbors
ospfin:
Router ID       Pri          State      DTime   Interface  Router IP
10.10.4.15        1     Init/Other      15.722  eth0       10.10.4.15
10.10.4.12        1     Init/Other      18.014  eth0       10.10.4.12

Other OSPF routers on network 10.10.4.0/24 (12 of them) communicate 
without problems. Those routers run bird 1.6.x but that shouldn't be a 
problem, I also have some birds 2.0.7 in other parts of network. On 
other routers I don's see this one as a neighbor. Once or twice it was 
ther, but don't know why... In those times I saw this:

router 10.10.4.45
         unreachable
         network [10.10.4.1] metric 10

OK. I suspect the problem has something to do with "Missing broadcast 
address.." messages. Maybe some misconfiguration? Or some obvious error 
I don't see.

Please point me to error I am doing.

Thanks

ico


More information about the Bird-users mailing list