lkml.org 
[lkml]   [2001]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: issue: deleting one IP alias deletes all
On Tue, Oct 23, 2001 at 10:54:30AM -0700, Tim Hockin wrote:
> So we've noticed, and taken issue with this behavior.
>
> If you have several IP aliases on an interface (eth0:0, eth0:1, eth0:2) you
> get inconsistent behavior when downing them.
>
> * if I 'ifconfig down' eth0:1, I am left with eth0:0 and eth0:2
> * if I 'ifconfig down' eth0:0, eth0:1 and eth0:2 go away, too

This was reported ages ago too.

>From what I remember, because eth0:x is an AF_INET hack only, you
should only do a down of it with an AF_INET socket. Some
versions of ifconfig did it with a socket of the wrong type,
which resulted in the whole interface going down.

Which version of ifconfig (nettools) are you using?


Kurt

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:10    [W:0.223 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site