Re: PROBLEM: IPv6 autoconf/accept_ra default values

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kolbjørn Barmen
Date: Friday, March 20, 2009 - 1:48 am

On Thu, 19 Mar 2009, David Miller wrote:


Reality?

Anyways, I'm overthrilled to actually see response, since this has been
pestering me (well, us), for years - configuring server with static
addresses is a real _pain_ if machine is located on a network where
autoconfigure and router announcements exist (or suddenly show up by
error due to someone untentionally configuring their machine as router,
some systems are even so clever that if they dont see router
announcements, they will assume all sorts of things and start acting as
6to4 router themselves - YAY! NOT!  People creating unintended network
loops on the switch panel is another classic, leaving all machiens with
double up of adresses and faulty default routes long after physical error
has been fixed - woohoo! Sheesh, I could go on all day long about what a
bad idea autoconf/accept_ra really is... :P )

I personally really dont care what is default as long as I have a _very
easy_ way to turn it off, kernel module paramters and boot parameters -
great! If the rest of the world has decided they want to fight this
manually by default, fine by me :)

How about the behaviour that I described:

    root:~# sysctl net.ipv6.conf.all.accept_ra 
    net.ipv6.conf.all.accept_ra = 1 
    root:~# sysctl -w net.ipv6.conf.all.accept_ra=0 
    net.ipv6.conf.all.accept_ra = 0 
    root:~# sysctl net.ipv6.conf.eth0.accept_ra 
    net.ipv6.conf.all.accept_ra = 1  

Is this intended behaviour or not? Bug or (mis)feature?

A few days ago I recieved mail from someone who was annoyed that even as
he changed the values with sysctl and restarted the interface, the old
addresses, routes etc were still up - yes, the lack of proper IPv6 support
in distros "network interface up/down" scripts is really tedious, and
there really is no easy way to "reset" ipv6 status on a machine, except
from doing it manually. I dont see any distro care much for IPv6 anytime
soon, so anything that can be done to ease IPv6 configuration is _very
much appreciated_ for those of us who actually run IPv6 in full
production.

Cheers!

-- 
Kolbjørn Barmen
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
PROBLEM: IPv6 autoconf/accept_ra default values, Kolbjørn Barmen, (Tue Feb 24, 2:50 am)
Re: PROBLEM: IPv6 autoconf/accept_ra default values, Kolbjørn Barmen, (Tue Mar 17, 6:06 pm)
Re: PROBLEM: IPv6 autoconf/accept_ra default values, YOSHIFUJI Hideaki, (Tue Mar 17, 8:33 pm)
Re: PROBLEM: IPv6 autoconf/accept_ra default values, David Miller, (Thu Mar 19, 11:44 pm)
Re: PROBLEM: IPv6 autoconf/accept_ra default values, Kolbjørn Barmen, (Fri Mar 20, 1:48 am)
Re: PROBLEM: IPv6 autoconf/accept_ra default values, Brian Haley, (Fri Mar 20, 11:02 am)
Re: PROBLEM: IPv6 autoconf/accept_ra default values, Kolbjørn Barmen, (Fri Mar 20, 2:50 pm)
Re: PROBLEM: IPv6 autoconf/accept_ra default values, Brian Haley, (Tue Mar 24, 6:49 pm)