From owner-freebsd-questions@FreeBSD.ORG Tue Feb 28 05:20:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B879816A436 for ; Tue, 28 Feb 2006 05:20:06 +0000 (GMT) (envelope-from wsantee@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id C908743D48 for ; Tue, 28 Feb 2006 05:20:03 +0000 (GMT) (envelope-from wsantee@gmail.com) Received: by xproxy.gmail.com with SMTP id h30so685792wxd for ; Mon, 27 Feb 2006 21:20:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=hbt2FlFoMTHjtJgLBnJgfmPrzhoQScDB6kHYFA36/rZZov/WoXaQI296wFu2QT/aAtpp0f4xOryYwDUDHrtIxisSDtkkne0I78TPRd3iBtgA+Nkj7VUTpIXfcuBMNgxmLDTnuzMsARGhv/V3PfAUucppt2Uee48Of30xKJ7gYNQ= Received: by 10.70.123.18 with SMTP id v18mr249098wxc; Mon, 27 Feb 2006 21:20:02 -0800 (PST) Received: from ?10.0.1.3? ( [168.103.224.74]) by mx.gmail.com with ESMTP id i38sm5551489wxd.2006.02.27.21.20.01; Mon, 27 Feb 2006 21:20:02 -0800 (PST) Message-ID: <4403DD77.8050707@gmail.com> Date: Mon, 27 Feb 2006 21:19:51 -0800 From: Wes Santee User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Nick Larsen References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Building a Jail in FreeBSD or NetBSD for a hosting environment 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: Tue, 28 Feb 2006 05:20:06 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Nick Larsen wrote: > [snip] > Also do I need an individual IP for each jail? because each physical server > will have 1 IP unless the customer requests a dedicated IP. > > Any help would be appreciated, and I have tried to research it but end up > going round in circles. I found sysutils/ezjail in the ports tree to be very helpful in setting up jails. Just needed an up to date buildworld and it did the rest. http://erdgeist.org/arts/software/ezjail/ On my 6.0 machine it's worked like a charm. Once you get the hang of it, you can use the Flavours feature to cut down on post-jail configuration. As far as I know, you do need 1 IP per jail, which is aliased off the interface the jail is running under (check out the ifconfig_iface_alias example in /etc/defaults/rc.conf if you've not done this before). Hope that helps. Cheers, - -Wes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) iQIVAwUBRAPdcorq8W17hxGfAQgTfw/8C9VAXS45AeNJQC8R1wQyqKgrke7PybrG X9vWjqiZXFPY/LGgx0Nlpc5IkZRK+M7GM4LBmF75/A09hMwj6DS82s89gQMfsC/1 TFrPJqmoDK1rDoMe1YMiCR2UcyvD7MEdWOQ9WMmrBK1vgPIBEybbhB+mQWz3tt1f vZr/wGh113xDDIJqmop7VPPs6AW2py6cpEvrV2NB3vi6YmkX9xBRU+fYQoyN1NPU pq1HwkqcyG9zbgqnC4L7vyvrmw8d4CpS0VCw6vjx7NY5ZGAWDcPqL+LRpf4X0OpH KI38jXQBTFJF9SIwVz0pPl/yp85kj0Js3BEmr+OmD3rbuyRZTbXyaxO9LiHiirvl ZTgeDoDZTx28b4glyV+QRXrk4h4ak/aJ2Pgp7BYIfaYhRppDCKncdGcseDazSQX1 H40Gqnb6DRdVlW4bC9wYdv8ekvVrkPiVWfr3caipi4brzUrewjL7aoMEdt8M+PD7 Kml/gDLWX8tioUhM666q3kvJPPgk9rGfwSRuPtarJ6SYKQbyN/YXb89AeB0wU1P+ ILxl1tvjw15nd32Po9xpuySMIJoEuPoJMTOrRfDEEiM8tj9bJf5HG4mLBPGqKpUi Ucxbp506LRIvGe9zOHz5rMgXl4UAbAZr7IDYlzjbfR6/wvIT6aNm6BBl6V0uWtBf 9P+dTHFEvZo= =iRN+ -----END PGP SIGNATURE-----