All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Ford <alan@whirlnet.co.uk>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] ip addr add vs ifconfig eth0:1
Date: Sun, 04 Apr 2004 16:55:13 +0000	[thread overview]
Message-ID: <20040404165513.GI3133@newred.gradwell.net> (raw)
In-Reply-To: <courier.40703B82.00005909@pro-technica.com>

On Sun, Apr 04, 2004 at 07:44:50PM +0300, lartc@pro-technica.com wrote:
> I have 1 interface eth0. I need to set about 20 virtual interfaces eth0:xx 
> on it. 
> 
> If I create them with ifconfig eth0:xx I see it with ifconfig and with ip 
> addr ls. If I set it with 'ip addr add', ifconfig don't show them, but 'ip 
> addr ls' and 'route' show them. So, which is better? 

If you create them with:
"ip addr add ... dev eth0 label eth0:xx"
you can still give them ifconfig-compatible labels, visible with 
both tools.

-- 
Alan Ford * alan@whirlnet.co.uk 
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  reply	other threads:[~2004-04-04 16:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-04 16:44 [LARTC] ip addr add vs ifconfig eth0:1 lartc
2004-04-04 16:55 ` Alan Ford [this message]
2004-04-05  0:50 ` Martin A. Brown

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=20040404165513.GI3133@newred.gradwell.net \
    --to=alan@whirlnet.co.uk \
    --cc=lartc@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.