All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: NetDev <netdev@vger.kernel.org>
Subject: iproute addr flush question
Date: Tue, 22 Jun 2010 15:46:21 -0700	[thread overview]
Message-ID: <4C213D3D.8040108@candelatech.com> (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

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

                 reply	other threads:[~2010-06-22 22:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C213D3D.8040108@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.