Skip to contentSkip to conversation

iproute addr flush question

DISCUSSION Ben Greear 1 participant 1 message Jun 22, 2010

Subsystems (2)
lore
Share & tools
lore

Ben Greear

author
#0 lore raw

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

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com