bird and on-interface p2p routes
Alexander Zubkov
green at qrator.net
Thu Jan 11 09:29:17 CET 2024
You mean exporting to the kernel? You can alter the routes in input
filters. Or pipe routes to another table, altering them in the pipe export
filter, and then export to the kernel from that other table.
On Thu, Jan 11, 2024, 09:08 Eugene M. Zheganin <emz at norma.perm.ru> wrote:
> 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/8d814e9c/attachment.htm>
More information about the Bird-users
mailing list