Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: Ubuntu Server Manual Addresses Only  (Read 2368 times)

phipac

  • Newbie
  • *
  • Posts: 25
Ubuntu Server Manual Addresses Only
« 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!
Logged

jrocha

  • Network Architect
  • Jr. Member
  • **
  • Posts: 66
Re: Ubuntu Server Manual Addresses Only
« Reply #1 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
Logged