← Back to team overview

kernel-packages team mailing list archive

[Bug 1335691] Re: Server 14.04 does not set static IPv6 addresses on interfaces when auto-config options are turned off

 

Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v3.16 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16-utopic/


** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

-- 
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/1335691

Title:
  Server 14.04 does not set static IPv6 addresses on interfaces when
  auto-config options are turned off

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  On Ubuntu server 14.04 (upgraded from 13.10) I am trying to get rid of
  the IPv6 auto-config addresses and leave on my statically assigned
  ones. The system has two interfaces, a physical eth0 and vlan10.

  1. privext 0 in /etc/network/interfaces

  When I set the "privext 0" option for both interfaces in
  /etc/network/interfaces, then vlan10 does not get the configured
  static IPv6 address. It only gets the IPv6 link local address.
  However, eth0 is configured as expected with just the given static
  address.

  Using "privext 0" on only one or the other, but not both, worked as
  expected.

  
  2.  net.ipv6.conf.*.use_tempaddr = 0 in /etc/sysctl.conf

  If I add both net.ipv6.conf.eth0.use_tempaddr = 0 and
  net.ipv6.conf.vlan10.use_tempaddr = 0 of /etc/sysctl.conf, then the
  situation is reversed. Vlan10 is configured as expected with just its
  given address and eth0 has only the link-local address.

  If I add only net.ipv6.conf.eth0.use_tempaddr = 0, then again eth0
  only gets the link local address and not the assigned static.

  On using net.ipv6.conf.vlan10.use_tempaddr = 0, then everything ended
  up as expected - eth0 had the auto-config addresses plus its static
  address and vlan10 only had the static address.

  
  1 + 2 kludging attempt:

  Unfortunately, combining net.ipv6.conf.vlan10.use_tempaddr = 0 in
  sysctl.conf and "privext 0" in /etc/network/interfaces for eth0, both
  of which worked as expected alone, did not work togther. The result
  was the same as setting net.ipv6.conf.*.use_tempaddr = 0 on bothg, as
  mentioned above.

  
  3.  net.ipv6.conf.*.use_tempaddr = 0 in /etc/sysctl.conf

  Using net.ipv6.conf.*.autoconf = 0 resulted in eth0 getting only it's
  static address as expected, but vlan10 was still given the autoconfig
  addresses.

  Using only net.ipv6.conf.vlan10.autoconf = 0 had no effect, the
  interface still go the auto-config addresses. Using only
  net.ipv6.conf.eth0.autoconf = 0 did work.

  
  2 + 3 kludging attempt:

  What finally worked was the combination of
  net.ipv6.conf.vlan10.autoconf = 0 and
  net.ipv6.conf.vlan10.use_tempaddr = 0

  Summary:

  So it looks like that of all thee three methods one can potentially
  use to get rid of IPv^ auto-config addresses, one simply doesn't work
  on vlan interfaces and the other two have weird transitive side
  effects when applied at the same time to a parent physical interface
  and a child vlan interface when one would expect them to be entirely
  independent.

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