Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Linux & BSD & Mac => Topic started by: phipac on October 14, 2011, 02:26:53 PM

Title: Ubuntu Server Manual Addresses Only
Post by: phipac on October 14, 2011, 02:26:53 PM
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!
Title: Re: Ubuntu Server Manual Addresses Only
Post by: jrocha on October 14, 2011, 07:22:54 PM
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