[PATCH] babel: Set onlink flag for IPv4 routes with unreachable next hop

Toke Høiland-Jørgensen toke at toke.dk
Wed May 9 15:30:12 CEST 2018


Ondrej Zajicek <santiago at crfreenet.org> writes:

> On Mon, May 07, 2018 at 08:57:43PM +0200, Toke Høiland-Jørgensen wrote:
>> Toke Høiland-Jørgensen <toke at toke.dk> writes:
>> 
>> > If the next hop of a route is not a reachable address, the route should be
>> > installed as onlink. This enables a configuration common in mesh networks
>> > where the mesh interface is assigned a /32 and babel handles the routing by
>> > installing onlink routes.
>> 
>> Any feedback on this? :)
>
> Hi
>
> There are some minor issues (like there should be check for error values
> from neigh_find2()), but that can i fix. I just wonder whether we would
> want this behavior as a default or whether it should be configurable.
> What do you think?

Well, always-on matches what babeld does, that's why I went with that.
Is there a case where this is not desirable behaviour?

-Toke



More information about the Bird-users mailing list