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
I have a better workaround for this:
`sysctl -p` now returns:
-- srv-1:~ # sysctl -p conf.all. accept_ ra = 0 conf.all. autoconf = 0 conf.eth0. accept_ ra = 0 conf.eth0. autoconf = 0
root@ubuntu-
net.ipv6.
net.ipv6.
net.ipv6.
net.ipv6.
--
And /etc/network/ interfaces contains:
-- net/ipv6/ conf/eth0. 120/accept_ ra net/ipv6/ conf/eth0. 120/autoconf
iface eth0.10 inet manual
up echo 0 > /proc/sys/
up echo 0 > /proc/sys/
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