From owner-freebsd-questions@FreeBSD.ORG Fri May 27 00:41:10 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 2EAA5106566C for ; Fri, 27 May 2011 00:41:10 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout018.mac.com (asmtpout018.mac.com [17.148.16.93]) by mx1.freebsd.org (Postfix) with ESMTP id 154548FC12 for ; Fri, 27 May 2011 00:41:09 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp018.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LLT0040BWKLY310@asmtp018.mac.com> for questions@freebsd.org; Thu, 26 May 2011 17:41:09 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813,1.0.148,0.0.0000 definitions=2011-05-26_08:2011-05-26, 2011-05-26, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1105260143 From: Chuck Swiger In-reply-to: Date: Thu, 26 May 2011 17:41:09 -0700 Message-id: <65499D90-BCCE-48DA-A526-3DD594AA74FB@mac.com> References: To: Chris Hill X-Mailer: Apple Mail (2.1084) Cc: FreeBSD Questions List 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 00:41:10 -0000 On May 26, 2011, at 4:46 PM, Chris Hill wrote: > 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? How many DHCP leases and NAT clients? ISC's DHCPd typically runs a few tens of MB unless you have many tens of thousands of leases. State table for natd doesn't require much memory either, but it scales more with the number of network flows rather than just # of clients. One client pounding away with BitTorrent will use more NAT session states than a dozen clients under normal desktop use. Regards, -- -Chuck