1 2 3 4 5 6 7 | touch /etc/sysctl.d/60-ipv6.conf
echo "net.ipv6.conf.default.autoconf = 0
net.ipv6.conf.default.accept_ra = 0
net.ipv6.conf.all.autoconf = 0
net.ipv6.conf.all.accept_ra = 0
" > /etc/sysctl.d/60-ipv6.conf
|
This will fix it after a reboot. I you want to change it imediately:
1 2 | echo 0 > /proc/sys/net/ipv6/conf/all/autoconf
echo 0 > /proc/sys/net/ipv6/conf/all/accept_ra
|
Comments