[Bug 617978] Re: Cant add multiple ipv6 addresses to an interface

Launchpad Bug Tracker 617978 at bugs.launchpad.net
Tue Dec 4 09:07:51 UTC 2012


*** This bug is a duplicate of bug 508996 ***
    https://bugs.launchpad.net/bugs/508996

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ifupdown (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/617978

Title:
  Cant add multiple ipv6 addresses to an interface

Status in “ifupdown” package in Ubuntu:
  Confirmed
Status in “ifupdown” package in Debian:
  Unknown

Bug description:
  Binary package hint: ifupdown

  Ubuntu:	    10.04.1 LTS
  Kernel:	    2.6.32-22-server   (i386 & x86_64)
  ifupdown:   0.6.8ubuntu29

  Here The inital version of "/etc/network/interfaces"
  -------------
  auto eth0
  iface eth0 inet static
          address 192.168.5.2
          netmask 255.255.255.0
          gateway 192.168.5.1
  iface eth0 inet6 static
          address 2001:db8::a
          netmask 64
  -------------

  You cant add multiple ipv6 adresses directly to eth0, so i created a new IF:
  -------------
  auto eth0:0
  iface eth0:0 inet6 static
          address 2001:db8::b
          netmask 64
  -------------

  After a "/etc/init.d/networking restart" i'll get an Error:
  -------------
  SIOCSIFFLAGS: Cannot assign requested address
  Failed to bring up eth0:0.
  -------------

  As Workaround i added an ipv4 dummy address to the IF eth0:0:
  -------------
  auto eth0:0
  iface eth0:0 inet static
          #dummy
          address 192.168.66.6
          netmask 255.255.255.255
  iface eth0:0 inet6 static
          address 2001:db8::b
          netmask 64
  -------------

  Now the "/etc/init.d/networking restart" returned no error,but all ipv6 addresses are on eth0 directly (ifconfig):
  -------------
  eth0      Link encap:Ethernet  Hardware Adresse 6c:f0:49:d0:3a:65
            inet Adresse:192.168.5.2  Bcast:192.168.5.255  Maske:255.255.255.0
            inet6-Adresse: 2001:db8::a/64 Gültigkeitsbereich:Global
            inet6-Adresse: 2001:db8::b/64 Gültigkeitsbereich:Global
            inet6-Adresse: fe80::6ef0:49ff:fed0:3a65/64 Gültigkeitsbereich:Verbindung
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
            RX packets:1979962 errors:0 dropped:0 overruns:0 frame:0
            TX packets:2217511 errors:0 dropped:0 overruns:0 carrier:0
            Kollisionen:0 Sendewarteschlangenlänge:1000
            RX bytes:1149728836 (1.1 GB)  TX bytes:1907867026 (1.9 GB)
            Interrupt:25 Basisadresse:0x4000

  eth0:0    Link encap:Ethernet  Hardware Adresse 6c:f0:49:d0:3a:65
            inet Adresse:192.168.66.6  Bcast:192.168.66.255  Maske:255.255.255.255
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
            Interrupt:25 Basisadresse:0x4000
  -------------

  In my opinion thats no proper handling.

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




More information about the foundations-bugs mailing list