Subject: Re: NAT, PPPoE 3-NIC router
To: None <hiroshi-n@iname.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 11/20/2003 22:29:05
On Thu, Nov 20, 2003 at 09:05:34PM +0900, hiroshi-n@iname.com wrote:
> [...]
> 
> PPPoE works and the global IPs can be accessed from outside with no problem.
> As long as a few clients access Internet via tlp0, it works fine.
> 
> However, when more users (10) starts using NAT, NetBSD becomes slow 
> and hangs in short period of time ( in a few hours ). Logs files are 
> not consistent, too. Sometimes it says "arpresolve: cannot allocate 
> llinfo on tlp0", or "panic: malloc: out of space in kmem_map", etc.
> 
> Is there any limitaion about the number of NAT clients ?

You may hit some kernel resources.
Try to increase NMBCLUSTERS, NKMEMPAGES, and NKMEMPAGES_MAX kernel
options. See options(4) for details.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--