IPv6 addresses on VLAN interfaces
Previously discussed here:
When you set an interface like:
# VLAN 3 auto eth0.3 iface eth0.3 inet static address 192.168.3.1 netmask 255.255.255.0 broadcast 192.168.3.255 iface eth0.3 inet6 static address fde4:8dba:e21c:3::1 netmask 64
You’ll see these errors when booting:
RTNETLINK answers: File exists run-parts: /etc/network/if-pre-up.d/vlan: exit status 2
It appears to be silenced if you do not set an IPv6 address in addition to an IPv4 one, that however is quite often the reason people might use VLANs in the first place.
Any assistance to fix this would be greatly appreciated.
(from redmine: issue id 9018, created on 2018-06-18, closed on 2018-09-11)
- Revision fcf202d3 by Natanael Copa on 2018-06-19T07:08:42Z:
main/vlan: fix support for both ipv4 and ipv6 address on vlans ref #9018
- Revision 7f627e92 by Natanael Copa on 2018-06-21T12:15:05Z:
main/vlan: fix support for both ipv4 and ipv6 address on vlans fixes #9018