Does not configure ipv6 address if "inet" is before "inet6"

Bug #96585 reported by Mattias Wadenstein
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ifupdown (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ifupdown

This /etc/network/interfaces does not configure the static ipv6 address on bootup (only the link-local):

auto lo eth0
iface lo inet loopback
iface eth0 inet static
  address 130.239.18.226
  netmask 255.255.255.128
  broadcast 130.239.18.255
  gateway 130.239.18.129
iface eth0 inet6 static
  address 2001:6b0:e:2018::226
  netmask 64

But this one works:

auto lo eth0
iface lo inet loopback
iface eth0 inet6 static
  address 2001:6b0:e:2018::226
  netmask 64
iface eth0 inet static
  address 130.239.18.226
  netmask 255.255.255.128
  broadcast 130.239.18.255
  gateway 130.239.18.129

There is no mention of such a limitation in the manual for interfaces(5) and is rather confusing since there is no error mention, it just comes up without 2001:6b0:e:2018::226 for eth0.

Tags: ipv6
Revision history for this message
Bernd Wurst (bugs-ubuntu) wrote :

I can comfirm this bug AND the given workaround.

Took me some weeks lacking usable IPv6-support to find this hint. :-(

Revision history for this message
Andreas Schultz (aschultz) wrote :

i have a similar problem, only not even the link local address is configured for interfaces that already have an IPv4 address when the ipv6 module is loaded

Daniel T Chen (crimsun)
Changed in ifupdown:
status: New → Confirmed
Revision history for this message
Gerald Combs (gerald.combs) wrote :

I can confirm that this affects hardy, but it appears to be fixed on lucid.

Revision history for this message
Ronshua (ronshua) wrote :

Nuts , me also . Auto , iface not installed .

Revision history for this message
Kenyon Ralph (kralph) wrote :

I don't see this problem on maverick. I wonder what change caused the fix?

Revision history for this message
Stéphane Graber (stgraber) wrote :

Seems to work fine on Precise. Closing the bug.

Changed in ifupdown (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.