I think I hit the bug #360155 with my /etc/network/interfaces
configuration such as:
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
iface eth0:1 inet static
address 10.0.0.5
netmask 255.255.255.0
broadcast 10.0.0.255
network 10.0.0.0
gateway 10.0.0.254
iface eth0:1 inet6 static
address 2001:7a8:b057::5
gateway 2001:7a8:b057::ffff
netmask 64
and many other aliases with IPv6 addresses that I can switch on or off
according my physical location.
All the IPv6 addresses are associated to the main
interfaces by ifup but unfortunately never removed by the respective
ifdown.
[EMAIL PROTECTED]:/tmp$ sudo ifup eth0
[EMAIL PROTECTED]:/tmp$ ifconfig -a
eth0 Lien encap:Ethernet HWaddr 00:0F:1F:1E:4C:96
inet adr:192.168.1.2 Bcast:192.168.1.255 Masque:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interruption:11
[EMAIL PROTECTED]:/tmp$ sudo ifup eth0:1
[EMAIL PROTECTED]:/tmp$ ifconfig -a
eth0 Lien encap:Ethernet HWaddr 00:0F:1F:1E:4C:96
inet adr:192.168.1.2 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: 2001:7a8:b057::5/64 Scope:Global
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interruption:11
[EMAIL PROTECTED]:/tmp$ sudo ifdown eth0:1
SIOCSIFFLAGS: Cannot assign requested address
[EMAIL PROTECTED]:/tmp$ ifconfig -a
eth0 Lien encap:Ethernet HWaddr 00:0F:1F:1E:4C:96
inet adr:192.168.1.2 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: 2001:7a8:b057::5/64 Scope:Global
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interruption:11
In bug #360155, a patch has been proposed more than a year ago. If it
works (I've not tested it), should it be possible to include it in the
mainstream?
It looks like it is related also to bugs bug #360155, #168776 and #395826.
Thank you,
--
Ronan KERYELL |\/ Tel: (+33|0) 2.29.00.14.15
Département Informatique |/) Fax: (+33|0) 2.29.00.12.82
ENST Bretagne, CS 83818 K GSM: (+33|0) 6.13.14.37.66
F-29238 PLOUZANÉ CEDEX 3 |\ E-mail: [EMAIL PROTECTED]
FRANCE | \ http://enstb.org/~keryell
sip:[EMAIL PROTECTED]