From owner-freebsd-questions@FreeBSD.ORG Fri May 27 09:03:35 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1872B1065670 for ; Fri, 27 May 2011 09:03:35 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from queueout04-winn.ispmail.ntl.com (queueout04-winn.ispmail.ntl.com [81.103.221.58]) by mx1.freebsd.org (Postfix) with ESMTP id 9D8608FC08 for ; Fri, 27 May 2011 09:03:34 +0000 (UTC) Received: from know-smtpout-4.server.virginmedia.net ([62.254.123.4]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20110527082821.GYMK16165.mtaout02-winn.ispmail.ntl.com@know-smtpout-4.server.virginmedia.net> for ; Fri, 27 May 2011 09:28:21 +0100 Received: from [94.168.170.153] (helo=mercury.universe.galaxy.lcl) by know-smtpout-4.server.virginmedia.net with esmtp (Exim 4.63) (envelope-from ) id 1QPsP7-0006gW-A7 for questions@freebsd.org; Fri, 27 May 2011 09:28:21 +0100 Received: from mercury.universe.galaxy.lcl ([fe80::79f1:f3c8:3aed:806c]) by mercury.universe.galaxy.lcl ([fe80::79f1:f3c8:3aed:806c%10]) with mapi; Fri, 27 May 2011 09:24:57 +0100 From: Graeme Dargie To: "'questions@freebsd.org'" Date: Fri, 27 May 2011 09:24:54 +0100 Thread-Topic: RAM needed for DHCP + router? Thread-Index: AcwcC1q1RXG5NRYQQ7esyXTPaVjETAAPAmtw Message-ID: <0EE458C34045A44DBC2CA2DC5CEB42B521F2C52159@mercury.universe.galaxy.lcl> References: <23504_1306456431_4DDEF16F_23504_3860_1_D9B37353831173459FDAA836D3B43499BF89C377@WADPMBXV0.waddell.com> In-Reply-To: Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Cloudmark-Analysis: v=1.1 cv=JvdXmxIgLJv2/GthKqHpGJEEHukvLcvELVXUanXFreg= c=1 sm=0 a=ye1oZRLvI3oA:10 a=OMdUhd4NiskA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=6I5d2MoRAAAA:8 a=7JtcQIc2AAAA:8 a=y5Za8mvNAAAA:8 a=WKDoELeBhmF6gjycPiMA:9 a=aogA5PrPAcLiJZ9Vm_cA:7 a=CjuIK1q_8ugA:10 a=Qtpxzxu9CTMA:10 a=SV7veod9ZcQA:10 a=VD9DKL8rjYkA:10 a=YBgQfBhF81eD1kGP:21 a=nIFg0_svoIdvYH_I:21 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: Subject: RE: RAM needed for DHCP + router? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2011 09:03:35 -0000 -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@f= reebsd.org] On Behalf Of Chris Hill Sent: 27 May 2011 02:16 To: Gary Gatten; Chuck Swiger Cc: 'questions@freebsd.org' Subject: Re: RAM needed for DHCP + router? On Thu, 26 May 2011, Gary Gatten wrote: > Your biggest consumers would be FBSD itself and the routing tables. I=20 > *think* full internet routing tables are still less than 512MB, (google=20 > to check), so unless you have more routes than that - 512MB may work,=20 > 1GB most likely will. Too many unknowns, like; is this ipv4 only or 6=20 > and 4 routes? Tweaked/minimal kernel, etc. Sorry, forgot to mention: inet4 for now, probably mixed with v6 in years=20 to come. GENERIC kernel if at all possible (trying to minimize maintenance= =20 and general fussiness level). And in reponse to Chuck, > How many DHCP leases and NAT clients? At any one time, probably dozens (maybe hundreds) of leases and hundreds=20 (maybe thousands) of NAT clients, but not tens of thousands. Leases and=20 NAT clients will come and go on a daily or weekly basis as equipment is=20 tested, configured and shipped out. > ----- Original Message ----- > From: Chris Hill [mailto:chris@monochrome.org] > Sent: Thursday, May 26, 2011 06:46 PM > To: FreeBSD Questions List > Subject: RAM needed for DHCP + router? > > Hello list, > > I'm looking to build a NAT / DHCP box for a lab network for my company. M= y > question is, how do I estimate the amount of RAM the machine will need? > > This box will be running isc-dhcpd, doing NAT either via natd or pf, and > not much else. I expect the amount of traffic (throughput) to be very > small, but the address space involved is quite large, at least by my > standards. It seems to me that this will require potentially large amount= s > of memory for routing tables, etc., but not much disk. > > I'll be installing the latest -RELEASE; 32-bit if I can, 64-bit if I must= , > depending on how much memory it looks like I'll need. I may also install > webmin for the benefit of my computer-literate-but-not-unix-savvy > coworkers. > > Thanks! > > > --=20 > Chris Hill chris@monochrome.org > ** [ Busy Expunging ] --=20 Chris Hill chris@monochrome.org ** [ Busy Expunging ] _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org= " If you just want a router / firewall you might want to look at pfsense, I a= m pretty sure it will cover all the things you want. http://www.pfsense.org/index.php?option=3Dcom_content&task=3Dview&id=3D52&I= temid=3D49=20 that gives some guides on hardware spec for given parameters. Regards Graeme