Weird behavior of link local gateway assignments
Marcel Krüger
bird at 2krueger.de
Mon Mar 15 06:56:24 CET 2021
Hi,
I encountered some issues when trying to set the gateway to a link-local
IPv6 address in a filter and am wondering if there is a trick I am
missing:
When assigning a link-local address (say fe80::4242%eno1)
to `gw` in a filter using e.g.
gw = fe80::4242%eno1;
the config file parser complains about a unexpected "%". Of course, it
doesn't work without the `%eno1` either ("Invalid gw address"), so is
there other way to pass the intended interface?
It seems that the interface doesn't get passed even if assigning from an
existing address with correctly set interface, since invoking in a
filter
gw = gw;
fails with "Invalid gw address" too if `gw` has a link local value.
Is this intended? Is there some other way to set the gw in a filter to a
link local value?
Best regards,
Marcel
More information about the Bird-users
mailing list