bird and on-interface p2p routes
Eugene M. Zheganin
emz at norma.perm.ru
Thu Jan 11 09:00:04 CET 2024
Hello,
On 11.01.2024 03:44, Alexander Zubkov wrote:
> As far as I remember, if you set the interface in a filter, than the gw is
> undefined automatically.
>
> Yep, checked the documentation, and here it is:
>
> https://bird.network.cz/?get_doc&v=20&f=bird-5.html#ss5.5
>
> string ifname
>
> Name of the outgoing interface. Sink routes (like blackhole,
> unreachable or prohibit) and multipath routes have no interface associated
> with them, so ifname returns an empty string for such routes. **Setting it
> would also change route to a direct one (remove gateway).**
Thanks, that did it; but unfortunately, further debugging revealed that
bird seems to completely ignore such routes and they don't make it to
the export filters, being discarded earlier.
Still the only option is to redeclare these as static.
Eugene.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20240111/a031dffa/attachment.htm>
More information about the Bird-users
mailing list