Unable to add a static IPv6 route with fe80 next-hop
Alarig Le Lay
alarig at swordarmor.fr
Sat May 2 10:35:12 CEST 2020
On Fri 01 May 2020 21:12:10 GMT, Ondrej Zajicek wrote:
> On Fri, May 01, 2020 at 07:46:54PM +0200, Alarig Le Lay wrote:
> > Hi,
> >
> > It’s the first time I try to do such a configuration, but I can’t find
> > the right syntax.
> >
> > route 2a00:5884:105::/48 via fe80::ae1f:6bff:fead:2ed8%enp3s0f1.30
> > → syntax error, unexpected '.'
> > route 2a00:5884:105::/48 via fe80::ae1f:6bff:fead:2ed8%"enp3s0f1.30"
> > → syntax error, unexpected TEXT, expecting CF_SYM_KNOWN or
> > CF_SYM_UNDEFINED
>
> Hi
>
> It is a bit tricky. Expression fe80::ae1f:6bff:fead:2ed8%eth0 would work,
> but because you have a dot in name, you need to write it as
> fe80::ae1f:6bff:fead:2ed8%'enp3s0f1.30'
>
> The syntax here abuses symbol syntax (like is used for e.g. protocol
> names).
Indeed, with simple quotes instead of double quotes it works. Thanks a
lot!
It’s not very obvious though ;)
--
Alarig
More information about the Bird-users
mailing list