From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 13:45:08 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D44616A4CE for ; Wed, 28 Jan 2004 13:45:08 -0800 (PST) Received: from c7.campus.utcluj.ro (c7.campus.utcluj.ro [193.226.6.226]) by mx1.FreeBSD.org (Postfix) with SMTP id CC9A043D62 for ; Wed, 28 Jan 2004 13:44:50 -0800 (PST) (envelope-from veedee@c7.campus.utcluj.ro) Received: (qmail 23699 invoked by uid 1008); 28 Jan 2004 21:44:50 -0000 From: veedee@c7.campus.utcluj.ro Date: Wed, 28 Jan 2004 23:44:50 +0200 To: Eli Dart Message-ID: <20040128214449.GC23393@c7.campus.utcluj.ro> References: <1075275264.401766007d839@isp.polynet.lviv.ua> <20040128211200.7DCC4F8EB@gemini.nersc.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040128211200.7DCC4F8EB@gemini.nersc.gov> cc: freebsd-net@freebsd.org cc: Andriy Korud Subject: Re: Large scale NAT - problem resolved X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 21:45:08 -0000 On Wed, Jan 28, 2004 at 01:12:00PM -0800, Eli Dart wrote: > > In reply to Andriy Korud : > > > > > Hi, > > At last I've managed to build stable NAT on FreeBSD box for 34Mbit link and > > ~2000 clients (cable modem network). > > At full speed (34Mbit) CPU usage is 0% and system load is 0.0 :-) > > > > The solution was to find proper ip_nat.h file and properly define compile-time > > parameters. > > Hmmm....sorry if I missed it, but do you have a copy of the modified > file handy? I'd be interested to see what tweaks are required for > this kind of config.... I think the only thing that you need to modify is to define LARGE_NAT in ip_nat.h (and probably modify the tables, if you really feel like doing it). > > Thanks, > > --eli > > > > > > Thanks all for you help, > > > > Andriy Korud > > > > > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > > > -- | Radu Bogdan 'veedee' Rusu | NetSysAdm at campus dot utcluj dot ro | Personal gallery at http://rbrusu.com | ...mirroring FreeBSD and coffee