lkml.org 
[lkml]   [1997]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: IP Alias Limit
    On Sat, 21 Sep 1996, Jacques Gelinas wrote:

    > So I never found the real limitation. What I did next, was too remove that
    > test from net/core/net_alias.c
    >
    > #if 0
    > if (slot >= NET_ALIAS_MAX_SLOT)
    > return NULL;
    > #endif

    I've been using this patch for many months...but it's no longer necessary.
    In pre-2.0.31, you can just echo a big number to
    /proc/sys/net/core/net_alias_max before ifconfiging any of the alias
    devices.

    > I created a script and defined around 2500 alias (using multiple class C)
    > like this

    Using the patch the just takes away the limit, I did something similar,
    created 1024 aliases, and it didn't seem to cause problems.

    Where the original poster will run into trouble is file handles. The
    simple solution there is to run several copies of apache listening to a
    hundred or so virtuals each, or log them all to one file.

    ------------------------------------------------------------------
    Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will
    Network Administrator | be proof-read for $199/message.
    Florida Digital Turnpike |
    ________Finger jlewis@inorganic5.fdt.net for PGP public key_______


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