• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

Ubuntu Server Manual Addresses Only

Started by phipac, October 14, 2011, 02:26:53 PM

Previous topic - Next topic

phipac

Is there a way to prevent my Ubuntu Server setup from receiving IPv6 addresses from radvd on the router?  I need radvd for temporary addresses on the network, but I use static addresses on the server.  I can't figure out what to put in the /etc/network/interfaces file to make sure the server doesn't listen for radvd advertisements.  Thanks!

jrocha

iface eth0 inet6 static
         accept_ra 0
         autoconf 0

Or you can put this in /etc/sysctl.conf:

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