lkml.org 
[lkml]   [1998]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Net aliasing limits
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 (jacques@solucorp.qc.ca)
Linuxconf: The ultimate administration system for Linux.
see http://www.solucorp.qc.ca/linuxconf
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 majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.040 / U:0.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site