Re: 2.1.7? ip aliasing ifconfig down broken

Andi Kleen (ak@muc.de)
31 Dec 1997 00:09:34 +0100


kernel@draper.net writes:

> IP aliasing has problems in addition to those of compiling as a module...
>
> The following sequence illustrates...
>
> ifconfig eth0:3 192.168.5.1
> ifconfig eth0:4 192.168.6.1
>
> (at this point both 192.168.5.1 and 192.168.6.1 respond to ping)
>
> Now the command:
>
> ifconfig eth0:3 down
>
> causes EVERY alias device associated with eth0, including eth0 itself (?!!),
> to be configured down. This behavior is unique to recent 2.1.7? kernels.
>
> People would be well advised to avoid IP aliasing if they also have
> a need to to shut down the driver for a single specific alias interface.

This has already been fixed in the vger CVS tree, and Alexey sent
a patch to the list. Please check your archives.

-A.