BIRD 2.15

Ondrej Zajicek santiago at crfreenet.org
Sun Mar 10 23:04:09 CET 2024


On Sun, Mar 10, 2024 at 10:13:56PM +0100, Pim van Pelt via Bird-users wrote:
> Hoi,
> 
> Thanks for the release! I was wondering about this one:
>    o Static routes can have both nexthop and interface specified
> Could I not have already been able to set 'route 192.0.2.1/32 via
> 100.64.0.1%eth0 onlink' ? If this is different, can you share a canonical
> syntax ?

Hi

Yes, it is something that could already be done using the IPv6-scope
syntax, but that was both a hack (outside IPv6 link-local) and was
limited in allowed characters in interface name. Now you can use:

  route 192.0.2.1/32 via 100.64.0.1 dev "eth0" onlink;

https://bird.network.cz/?get_doc&v=20&f=bird-6.html#static-route-dev


For details, see this thread:

http://trubka.network.cz/pipermail/bird-users/2024-February/017411.html


> By the way, the following yields a crash upon startup of Bird 2.14 (perhaps
> in 2.15 also, I will check):
> 
> protocol static s1 {
>   ipv4 { export all; };
>   route 192.0.2.1/32 via 192.168.10.2%e0 *onlink bfd*;
> }


Will check that

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
"To err is human -- to blame it on a computer is even more so."


More information about the Bird-users mailing list