Home > IPv6, Linux, Networking > IPv6 addrconf: prefix with wrong length 48

IPv6 addrconf: prefix with wrong length 48

February 15th, 2010

If your hosting provider gives out an entire /48 for every hosted server, your syslog may get overwhelmed with messages concerning the subnet mask:

1 Time(s): [705959.619704] IPv6 addrconf: prefix with wrong length 48

To solve this temporarily you can disable auto-configuration and router advertisements:

echo 0 > /proc/sys/net/ipv6/conf/eth0/accept_ra
echo 0 > /proc/sys/net/ipv6/conf/eth0/autoconf

This seems to suppress the annoying log messages on my Ubuntu based environment. If you would like to make this persistent through reboots, add the following lines to /etc/sysctl.conf:

net.ipv6.conf.all.accept_ra = 0
net.ipv6.conf.all.autoconf = 0

IPv6, Linux, Networking , , ,

  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.