vanutsteen.nl => nerds only A blog on rails, php, computing, my bass guitar and stuff

Fixing the "IPv6 addrconf: prefix with wrong length 48" on Ubuntu (server)

on in Linux

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