[LARTC] ip address delete bug?

Carl-Daniel Hailfinger c-d.hailfinger.devel.2005 at gmx.net
Mon Oct 3 19:55:09 CEST 2005


Hi,

it seems that "ip address delete" will delete all addresses of the same 
class on an interface if it is ordered to only delete the first one:

# ip a f eth0
# ip a l eth0
3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
     link/ether xx:xx:xx:xx:xx:xx
# ip a a 192.168.a.b brd + dev eth0
# ip a a 192.168.c.d brd + dev eth0
# ip a d 192.168.a.b brd + dev eth0
# ip a l eth0
3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
     link/ether xx:xx:xx:xx:xx:xx

I'm using kernel 2.6.13 and iproute2-050816. The man page seems to agree 
with me that this behaviour is wrong. If that behaviour is intended, 
please update the man page.

Regards,
Carl-Daniel
-- 
http://www.hailfinger.org/


More information about the LARTC mailing list