Subject: iproute addr flush question

From: Ben Greear <[email-masked]>
Date: Tue, 22 Jun 2010 15:46:21 -0700

Is this supposed to work?  I was hoping there was some way to
flush all secondary IPs with a single command:

[root@atom lanforge]# ./local/sbin/ip addr flush dev eth5 secondary
[root@atom lanforge]#  ip addr show dev eth5
8: eth5: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
     link/ether 00:90:0b:13:f4:e9 brd ff:ff:ff:ff:ff:ff
     inet 6.6.6.1/24 brd 6.6.6.255 scope global eth5
     inet 6.6.6.2/24 scope global secondary eth5
     inet 6.6.6.3/24 scope global secondary eth5

This is .34 kernel and .34 matching iproute.

Thanks,
Ben

-- 
Ben Greear <[email-masked]>
Candela Technologies Inc  http://www.candelatech.com