Bird 1.5.0: protocol 'direct' looses routes

Andrew nitr0 at seti.kr.ua
Tue Jun 16 12:39:24 CEST 2015


13.06.2015 10:43, Andrew пишет:
> Hi all.
>
> I'm testing bird 1.5.0 on PPPoE BRAS, and today noticed that sometimes 
> it looses routes. For ex., today it looses near 5 networks of 103 
> total (before restart - it has 98 routes, after - 103)
>
> Possibly this may be related with tunnel session hangup - when user 
> reconnects with same IP and then old session is dropped, bird may 
> loose this route while route is present in system. But I'm not sure 
> about this.

Trouble is confirmed on test machine.

Testing result:

Initial routes:
bird> sh route protocol direct1
192.168.250.240/28 dev eth0 [direct1 13:29:38] * (240)
192.168.255.64/27  dev vlan1 [direct1 13:29:38] * (240)
10.255.0.21/32     dev eth0 [direct1 13:29:38] * (240)

#ip a a 10.255.0.21/32 dev ifb0

bird> sh route protocol direct1
192.168.250.240/28 dev eth0 [direct1 13:29:38] * (240)
192.168.255.64/27  dev vlan1 [direct1 13:29:38] * (240)
10.255.0.21/32     dev ifb0 [direct1 13:30:19] * (240)

#ip a d  10.255.0.21/32 dev ifb0

bird> sh route protocol direct1
192.168.250.240/28 dev eth0 [direct1 13:29:38] * (240)
192.168.255.64/27  dev vlan1 [direct1 13:29:38] * (240)
bird> restart direct1
direct1: restarted
bird> sh route protocol direct1
192.168.250.240/28 dev eth0 [direct1 13:34:09] * (240)
192.168.255.64/27  dev vlan1 [direct1 13:34:09] * (240)
10.255.0.21/32     dev eth0 [direct1 13:34:09] * (240)
bird>

Is there a way to fix it/add temporal workaround in simple way? Or where 
in code placed 'direct' protocol routing handling?


More information about the Bird-users mailing list