kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #73908
[Bug 1335691] Re: Server 14.04 does not set static IPv6 addresses on interfaces when auto-config options are turned off
I chose this for lack of better option since networking ins contained in
kernel modules and I'm not sure where IPv6 autoconfig is specifically
handled
** Package changed: ubuntu => linux-meta (Ubuntu)
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta 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:
New
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