Static IPv6 leases on VLAN interface

Martin Huněk martin.hunek at lbcfree.net
Fri Jul 14 15:00:27 CEST 2017


Hi Ondrej,

fe80::xxx%'eth1.3330' seems to work, thanks!
I think it would be beneficial to mention that in user documentation.

Best regards
Marin Hunek

Dne pátek 14. července 2017 13:50:19 CEST jste napsal(a):
> On Fri, Jul 14, 2017 at 10:03:18AM +0200, Martin Huněk wrote:
> > Hí,
> > 
> > I have recently found out a problem with assigning IPv6 prefix via static
> > protocol for the VLAN interface.
> > 
> > When I wrote this:
> > protocol static leases {
> > 
> >         route 2001:db8:0:100::/56 via fe80::xxxx:xxff:fexx:xxxx%eth1.3330;
> > 
> > }
> > 
> > It gave me:
> > /etc/bird/leases6.conf, line 2: syntax error
> > 
> > However, when I use a host interface for that VLAN (%eth1), it suddenly
> > works.
> Hi
> 
> The IP%iface syntax in BIRD is a hack that uses symbol syntax for iface
> name, which allows just alphanumeric chars and underscore.
> 
> You could try fe80::xxx%'eth1.3330'
> 
> > Is there a way how to insert static route pointing to the VLAN interface?
> 
> Well, it is unrelated to VLAN iface, it is problem with dot in name.
> 
> Also note that it is possible to use
> 
>   vconfig set_name_type VLAN_PLUS_VID_NO_PAD
> 
> to have VLAN ifaces named vlanXX, or VLAN can be created with any name using
> 'ip' tool instead of 'vconfig' tool.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20170714/7dd6cedc/attachment.asc>


More information about the Bird-users mailing list