Static route tracking with BFD
Hi, I've successfully bring bfd session up with my router. All seems good, but in some cases I will need to flush static route if bfd session comes down. As far as I know BIRD 2.0.7 support this but how to configure it?
On Fri, Jan 03, 2020 at 02:28:25PM +0000, Юрий Иванов wrote:
Hi,
I've successfully bring bfd session up with my router. All seems good, but in some cases I will need to flush static route if bfd session comes down.
As far as I know BIRD 2.0.7 support this but how to configure it?
Hi See examples from docs: route 10.0.0.0/8 # Multipath route via 198.51.100.10 weight 2 via 198.51.100.20 bfd # BFD-controlled next hop via 192.0.2.1; ... route 192.168.10.0/24 via 198.51.100.100 { ospf_metric2 = 100; # Set extended attribute ospf_tag = 2; # Set extended attribute bfd; # BFD-controlled route }; -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@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."
Strange but such construction leads to error: 87 route 1.0.1.1/32 via 10.0.100.1 { 88 bfd; 89 }; bird> configure Reading configuration from /etc/bird.conf /etc/bird.conf:88:11 syntax error, unexpected BFD bird> Only first example works: route 1.0.1.1/32 via 10.0.100.1 bfd; ________________________________ От: Ondrej Zajicek <santiago@crfreenet.org> Отправлено: 6 января 2020 г. 5:20 Кому: Юрий Иванов <format_hub@outlook.com> Копия: bird-users@network.cz <bird-users@network.cz> Тема: Re: Static route tracking with BFD On Fri, Jan 03, 2020 at 02:28:25PM +0000, Юрий Иванов wrote:
Hi,
I've successfully bring bfd session up with my router. All seems good, but in some cases I will need to flush static route if bfd session comes down.
As far as I know BIRD 2.0.7 support this but how to configure it?
Hi See examples from docs: route 10.0.0.0/8 # Multipath route via 198.51.100.10 weight 2 via 198.51.100.20 bfd # BFD-controlled next hop via 192.0.2.1; ... route 192.168.10.0/24 via 198.51.100.100 { ospf_metric2 = 100; # Set extended attribute ospf_tag = 2; # Set extended attribute bfd; # BFD-controlled route }; -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@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."
On Wed, Jan 08, 2020 at 06:50:27AM +0000, Юрий Иванов wrote:
Strange but such construction leads to error: 87 route 1.0.1.1/32 via 10.0.100.1 { 88 bfd; 89 };
bird> configure Reading configuration from /etc/bird.conf /etc/bird.conf:88:11 syntax error, unexpected BFD bird>
Seems like we changed that and forget to update documentation. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@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."
participants (2)
-
Ondrej Zajicek -
Юрий Иванов