All of lore.kernel.org
 help / color / mirror / Atom feed
From: lartc@pro-technica.com
To: lartc@vger.kernel.org
Subject: [LARTC] ip addr add vs ifconfig eth0:1
Date: Sun, 04 Apr 2004 16:44:50 +0000	[thread overview]
Message-ID: <courier.40703B82.00005909@pro-technica.com> (raw)

A stupid question: which is recomended? 

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? 

Thanks in advance.
PS: I can't find anywhere docs about relationship between 'old' utilities 
ifconfig, route, etc and the iproute2 package. Point me to some comparision 
between them, please. 


_______________________________________________
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:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-04 16:44 lartc [this message]
2004-04-04 16:55 ` [LARTC] ip addr add vs ifconfig eth0:1 Alan Ford
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=courier.40703B82.00005909@pro-technica.com \
    --to=lartc@pro-technica.com \
    --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.