Re: Kernel ethernet alias limit

From: bert hubert (ahu@ds9a.nl)
Date: Tue Feb 19 2002 - 07:11:21 EST


On Tue, Feb 19, 2002 at 09:39:30AM +0000, Jim Roland wrote:
> I seem to remember back in either Kernel 2.0 or 2.2 there was a limit of 256
> aliases within the ethX aliasing (eg, eth0, then eth0:0 thru eth0:255).
>
> Has the limit on this been expanded with Kernel 2.4, is it stable and/or
> advised? I have a need to bind more than 256 addresses to a single
> interface. Without installing additional network cards.

Use a loopback interface - you can easily bind to a /8 if you want this way.

I think this is documented in the 'ip' documentation in 'iproute2' from
Alexey. It has also been explained on list here.

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc
-
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/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:19 EST