Hurricane Electric's IPv6 Tunnel Broker Forums
June 18, 2013, 06:47:47 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Hurricane Electric's Tunnelbroker.net forums!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Block Router Advertisements  (Read 1354 times)
aprsca
Newbie
*
Posts: 23


View Profile
« on: April 16, 2011, 04:54:05 pm »

Thanks for looking!  I'm running Ubuntu 10.10 server on a mixed static & dynamic network.  My router is running radvd to handle IPv6 addressing for temporary devices.  This Ubuntu server has a static IPv6 address.  The problem is, it is picking up an address from radvd no matter what I do.  I have combed through Google to little avail.  I have put the following lines in /etc/sysctl.conf:

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

... but that doesn't seem to stop it from accepting addresses from radvd.  If I delete the dynamic address, it shows back up within a few minutes.  If I reboot the box, it is still there as well.  I'm missing something here, but I don't know what!  Thanks for your help!
Logged

cholzhauer
Hero Member
*****
Posts: 2094


View Profile
« Reply #1 on: April 17, 2011, 06:47:36 pm »

The only thing I've been able to find is something like

http://permalink.gmane.org/gmane.org.user-groups.ale/75013

Which lists the same commands you tried.  I see there's a little script below it, but according to the description, it's only supposed to keep you from rebooting.

Maybe it's worth trying anyway?
Logged
tchxhe
Newbie
*
Posts: 2


View Profile
« Reply #2 on: April 18, 2011, 01:22:38 am »

I'm using suse and had the same problem. The 'all' part didn't work. I changed
net.ipv6.conf.all.autoconf to net.ipv6.conf.eth0.autoconf and net.ipv6.conf.eth1.autoconf
You have to adapt the names for your nics. Perhaps this works with ubuntu too.

Logged
aprsca
Newbie
*
Posts: 23


View Profile
« Reply #3 on: April 18, 2011, 09:16:23 am »

I'm using suse and had the same problem. The 'all' part didn't work. I changed
net.ipv6.conf.all.autoconf to net.ipv6.conf.eth0.autoconf and net.ipv6.conf.eth1.autoconf
You have to adapt the names for your nics. Perhaps this works with ubuntu too.

That seems to have done it!  Thank you very much for your help!
Logged

snarked
Hero Member
*****
Posts: 581



View Profile
« Reply #4 on: April 19, 2011, 12:04:25 am »

Using "all" vs. a specific interface name can work.  It depends on when the configuration parameters are executed as compared to when the interfaces are created (i.e. "all" will work if the parameters are executed BEFORE interface creation but not after).
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!