From owner-freebsd-questions@FreeBSD.ORG Fri May 27 01:16:29 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 C098D106564A for ; Fri, 27 May 2011 01:16:29 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id 577E68FC08 for ; Fri, 27 May 2011 01:16:28 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id p4R1GSkn040907; Thu, 26 May 2011 21:16:28 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Thu, 26 May 2011 21:16:28 -0400 (EDT) From: Chris Hill To: Gary Gatten , Chuck Swiger In-Reply-To: <23504_1306456431_4DDEF16F_23504_3860_1_D9B37353831173459FDAA836D3B43499BF89C377@WADPMBXV0.waddell.com> Message-ID: References: <23504_1306456431_4DDEF16F_23504_3860_1_D9B37353831173459FDAA836D3B43499BF89C377@WADPMBXV0.waddell.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: "'questions@freebsd.org'" 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 01:16:29 -0000 On Thu, 26 May 2011, Gary Gatten wrote: > Your biggest consumers would be FBSD itself and the routing tables. I > *think* full internet routing tables are still less than 512MB, (google > to check), so unless you have more routes than that - 512MB may work, > 1GB most likely will. Too many unknowns, like; is this ipv4 only or 6 > and 4 routes? Tweaked/minimal kernel, etc. Sorry, forgot to mention: inet4 for now, probably mixed with v6 in years to come. GENERIC kernel if at all possible (trying to minimize maintenance 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 (maybe thousands) of NAT clients, but not tens of thousands. Leases and NAT clients will come and go on a daily or weekly basis as equipment is 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. My > 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 amounts > 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! > > > -- > Chris Hill chris@monochrome.org > ** [ Busy Expunging ] -- Chris Hill chris@monochrome.org ** [ Busy Expunging ]