Re: [LARTC] ip addr add vs ifconfig eth0:1

2004-04-04 Thread Martin A. Brown
Hello, : A stupid question: which is recomended? The iproute2 tools expose all of the complexity of the Linux kernel in a clear and transparent way, so I recommend iproute2 for any but the most pedestrian uses of IP addressing on Linux boxen. Naturally, for workstations and standalone boxen, th

Re: [LARTC] ip addr add vs ifconfig eth0:1

2004-04-04 Thread Alan Ford
On Sun, Apr 04, 2004 at 07:44:50PM +0300, [EMAIL PROTECTED] 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 t

[LARTC] ip addr add vs ifconfig eth0:1

2004-04-04 Thread lartc
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'