netdev
[Top] [All Lists]

Re: ifconfig bug removes aliases

To: Aron Griffis <aron@xxxxxx>
Subject: Re: ifconfig bug removes aliases
From: Julian Anastasov <ja@xxxxxx>
Date: Sat, 13 Mar 2004 12:07:05 +0200 (EET)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20040310212056.GA5661@time.flatmonk.org>
References: <20040310212056.GA5661@time.flatmonk.org>
Sender: netdev-bounce@xxxxxxxxxxx
        Hello,

On Wed, 10 Mar 2004, Aron Griffis wrote:

> Hello, here is the sequence:
>
>     ifconfig eth0:1 10.10.10.1 netmask 255.255.0.0
>     ifconfig eth0:2 10.10.10.2 netmask 255.255.0.0
>     ifconfig eth0:1 down
>
> At this point eth0:2 has disappeared also.  It appears that the aliases
> must be on the same subnet for this to occur, and the creation order is
> also important.

        From inet_del_ifa:

/* 1. Deleting primary ifaddr forces deletion all secondaries */

Regards

--
Julian Anastasov <ja@xxxxxx>

<Prev in Thread] Current Thread [Next in Thread>