From owner-freebsd-net@FreeBSD.ORG Wed Jan 28 13:44:10 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 024A916A4CE for ; Wed, 28 Jan 2004 13:44:10 -0800 (PST) Received: from c7.campus.utcluj.ro (c7.campus.utcluj.ro [193.226.6.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 18BD643D2D for ; Wed, 28 Jan 2004 13:44:06 -0800 (PST) (envelope-from veedee@c7.campus.utcluj.ro) Received: (qmail 23644 invoked by uid 1008); 28 Jan 2004 21:44:05 -0000 From: veedee@c7.campus.utcluj.ro Date: Wed, 28 Jan 2004 23:44:05 +0200 To: Julian Elischer Message-ID: <20040128214405.GB23393@c7.campus.utcluj.ro> References: <20040128205349.GH11253@FreeBSD.org.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: freebsd-net@freebsd.org 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:44:10 -0000 On Wed, Jan 28, 2004 at 01:06:06PM -0800, Julian Elischer wrote: > > > On Wed, 28 Jan 2004, Ruslan Ermilov wrote: > > > On Wed, Jan 28, 2004 at 10:46:03PM +0200, veedee@c7.campus.utcluj.ro wrote: > > > On Wed, Jan 28, 2004 at 10:41:20PM +0200, Ruslan Ermilov wrote: > > > > On Wed, Jan 28, 2004 at 12:15:56AM -0800, Julian Elischer wrote: > > > > > > > > > > On Wed, 28 Jan 2004, Andriy Korud wrote: > > > > > > > > > > > > > > > > > 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 :-) > > > > > > > > > > > > > > > > It'd be really interesting to see how natd would handle such a load.... > > > > > > > > > You must be kidding. ;) > > > > > > Agreed. NATd "crashes" with 400 clients on AMD Athlon 900Mhz. :( ipnat > > > works fine. > > > > > > This raises a question... is there any point in still having natd? (don't > > > throw rocks at me please, I'm just asking). Or maybe it's still being used > > > for servers with less clients to nat? > > > > > If your Internet connection is 128kbit/s, it can cope with it nicely. > > One day I will write the ng_nat(4) module. > > actually it can cope with a LOT more than that.. We see no degredation > nating a 100Mb link.. (though not fully). I got ~400 (was 400, now 450 this year) clients on an 100Mbps link and it only works with ipnat for me :( > > > > > > > > Cheers, > > -- > > Ruslan Ermilov > > FreeBSD committer > > ru@FreeBSD.org > > > -- | Radu Bogdan 'veedee' Rusu | NetSysAdm at campus dot utcluj dot ro | Personal gallery at http://rbrusu.com | ...mirroring FreeBSD and coffee