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

Ondrej Zajicek santiago at crfreenet.org
Wed May 9 15:19:54 CEST 2018


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?

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at 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."



More information about the Bird-users mailing list