Comment 3 for bug 1345847

Revision history for this message
Thiago Martins (martinx) wrote :

I have a better workaround for this:

`sysctl -p` now returns:

--
root@ubuntu-srv-1:~# sysctl -p
net.ipv6.conf.all.accept_ra = 0
net.ipv6.conf.all.autoconf = 0
net.ipv6.conf.eth0.accept_ra = 0
net.ipv6.conf.eth0.autoconf = 0
--

And /etc/network/interfaces contains:

--
iface eth0.10 inet manual
 up echo 0 > /proc/sys/net/ipv6/conf/eth0.120/accept_ra
 up echo 0 > /proc/sys/net/ipv6/conf/eth0.120/autoconf
 up ip link set dev $IFACE up
 up ip addr add 172.16.0.10/24 dev $IFACE
 up ip route add default via 172.16.0.1
--

IPv6 did not appear, as expected...

-
 Thiago