On Mon, Oct 26, 1998 at 01:19:15PM +0100, Erik R�nnberg wrote:
> Hi, I have a small, but not necesery easy question.
>
> I'm netadmin for a datafestival in Uddevalla/Sweden. Last year we used
> ipmasq to get the approx 400 computers out on the net. The problem was
> when the use of the gateway was high it reported that it couldn't
> allicate more sockets.
>
> Now the question I have is what the limits for a single ipmasq box is,
> and what hardware I have to have to run it good. And most of all, how do
> I configurate the kernel to stand the load? The new party is starting
> this weekend, soo I'm in kind of a hurry.
One thing you can do is to increase the number of ports available to
masquerading. You can do this in the file /usr/src/linux/include/net/ip_masq.h,
by adjusting PORT_MASQ_BEGIN and PORT_MASQ_END. Just make sure that
PORT_MASQ_END fits in a short int.
This won't help if the message you got was that it couldn't allocate more
sockets--you'd get "no free ports" (or words to that effect) if you didn't have
enough ports available to masquerading. But for a heavily used masquerading box
it's probably a good thing to do anyway.
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]