Re: IP aliases - non-orthogonal behaviour

A.N.Kuznetsov (kuznet@ms2.inr.ac.ru)
Tue, 24 Mar 1998 13:15:53 +0300


In article <35172EB3.4675EEDA@brisnet.org.au> you wrote:
: Make 500 IP aliases (eth0:0 to eth0:499) for example.
: ifconfig eth0:300 down # works as expected..eth0:300 goes away
: ifconfig eth0:0 down # All aliased interfaces on eth0 vanish

: Is this behaviour intentional?

Yes. If all the aliases have one prefix, they are grouped together
and the first one is leader. Its deletion causes deletion all of them.
In some extent, it is equivalent to downing eth0 in 2.0.

Actually, addition of thousand of aliases is not a good idea.
In 2.1 you can make:

ip route add local 10.0/16 dev eth0

and you will get 64K of local addresses 10.0.0.0...10.0.255.255

Alexey Kuznetsov

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu