Re: Net aliasing limits

Jacques Gelinas (
Thu, 5 Mar 1998 23:15:53 -0500 (EST)

On Thu, 5 Mar 1998, Zach Beane wrote:

> I'm trying to configure a single ethernet interface to have more than 256
> aliases. I was under the impression that echoing something like "512" to
> /proc/sys/net/core/net_alias would allow this to happen, but whenever I try
> to add an alias above 255 I get this:
> SIOCSIFADDR: Invalid argument
> Is this an ifconfig problem, a kernel limit, or something else? (I have Deja
> Newsed to no avail).

Be sure to echo this number in /proc/sys/net/core/net_alias_max before
setting any alias. This number is used only when creating the first alias.
You can unset all current IP alias and then start again, then the number
will be effective.

Jacques Gelinas (
Linuxconf: The ultimate administration system for Linux.
new developments: remote GUI admin, multiple machines admin, wu-ftpd

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to