When you have an ipv6 address configured and you change a network setting your interface file gets screwed up.
For example before a network change the interface file looks like this:
Code: Select all
iface br0 inet static
address 172.32.2.33
bridge_fd 0
bridge_maxwait 0
bridge_ports eth0 eth1 wlan0
gateway 172.32.2.254
netmask 255.255.255.0
up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/autoconf
iface br0 inet6 static
address 2A02:968:1001:0:172:32:2:33
netmask 64
Code: Select all
iface br0 inet static
address 172.32.2.33 2A02:968:1001:0:172:32:2:33
bridge_fd 0
bridge_maxwait 0
bridge_ports eth0 eth1 wlan0
gateway 172.32.2.254
netmask 255.255.255.0 64
up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/autoconf
Can there be made a fix that leefs a inet6 section alone or even beter add ipv6 support, in the form of enable to add a static ipv6 address.