I was able to reproduce this bug on a non-Xen kernel as well.  I've
also found that the bug appears to manifest itself when the aliased
interface uses an address on the host interface's network, but not when
the alias is on a different network:

# ifconfig eth1 10.20.30.41 netmask 255.255.255.0
# ifconfig eth1:0 10.20.30.42 netmask 255.255.255.0
# ip addr flush eth1
Failed to send flush request: Cannot assign requested address
# echo $?
1
# ip addr show eth1
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
state DOWN qlen 1000
    link/ether 00:d0:b7:xx:xx:xx brd ff:ff:ff:ff:ff:ff
# ifconfig eth1 10.20.30.41 netmask 255.255.255.0
# ifconfig eth1:0 10.20.30.42 netmask 255.255.255.0
# ip addr show eth1
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
state DOWN qlen 1000
    link/ether 00:d0:b7:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet 10.20.30.41/24 brd 10.20.30.255 scope global eth1
    inet 10.20.30.42/24 brd 10.20.30.255 scope global secondary eth1:0
# ip addr flush eth1
Failed to send flush request: Cannot assign requested address
# ip addr show eth1
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
state DOWN qlen 1000
    link/ether 00:d0:b7:xx:xx:xx brd ff:ff:ff:ff:ff:ff
# ifconfig eth1 10.20.30.41 netmask 255.255.255.0
# ifconfig eth1:0 10.255.30.42 netmask 255.255.255.0
# ip addr show eth1
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
state DOWN qlen 1000
    link/ether 00:d0:b7:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet 10.20.30.41/24 brd 10.20.30.255 scope global eth1
    inet 10.255.30.42/24 brd 10.255.30.255 scope global eth1:0
# ip addr flush eth1
# 


-- 
                                                                      
Mike Edwards                    |   If this email address disappears,   
Unsolicited advertisments to    |   assume it was spammed to death.  To
this address are not welcome.   |   reach me in that case, s/-.*@/@/

"Our progress as a nation can be no swifter than our progress in education.
The human mind is our fundamental resource."
  -- John F. Kennedy



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to