I'm having a similar issue. I have disabled Route Advertisement
(accept_ra=0) in sysctl.conf file, but at boot I still get a default
IPv6 route to my router with an RA flag, which means it was assigned
using a ra.

The default route expires soon after the boot, as it does not get
renewed. This shows that the accept_ra=0 is actually working. It's not
accepting route advertisements anymore, so this route does not get
renewed. However, why do I still get the first route over RA? It's
bugging my interface, as it has a gateway rule, but is not able to set
it as there is already a default route assigned by a RA. I have no idea
why it's even possible to get a route automatically before the actual
interface is up (it's trying to assign the gateway I put in the
interfaces file, but I get an error: File exists.).

Only solution so far is removing the gateway line, causing the default
route to appear automatically by RA and setting accept_ra to 1.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/997605

Title:
  Disabling IPv6 autoconfiguration in sysctl.conf doesn't affect boot
  process

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  When you put the following lines in sysctl.conf

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

  the expeced result is to disable IPv6 autoconfiguration at bootup,
  but, actually, it does nothing, because sysctl.conf network settings
  are applied after network has been started.

  So what happens:
  1. Network interfaces are started by /etc/init.d/networking
  1a. IPv6 uses autocnfiguratin, because it is enabled at this point
  2. Sysctl.conf settings are applied by /etc/init/procps.conf

  I don't know if there is an easy solution, because inverting order
  things are called could break something else.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/997605/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to