netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* iproute addr flush question
@ 2010-06-22 22:46 Ben Greear
  0 siblings, 0 replies; only message in thread
From: Ben Greear @ 2010-06-22 22:46 UTC (permalink / raw)
  To: NetDev

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 <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-22 22:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-22 22:46 iproute addr flush question Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).