From owner-freebsd-stable@FreeBSD.ORG Mon Dec 14 15:17:27 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B482106568D for ; Mon, 14 Dec 2009 15:17:27 +0000 (UTC) (envelope-from petros.fraser@gmail.com) Received: from mail-vw0-f173.google.com (mail-vw0-f173.google.com [209.85.212.173]) by mx1.freebsd.org (Postfix) with ESMTP id 042A48FC22 for ; Mon, 14 Dec 2009 15:17:26 +0000 (UTC) Received: by vws3 with SMTP id 3so871344vws.3 for ; Mon, 14 Dec 2009 07:17:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=eg3gDBTGLjp3XCI/7r7BCTMKQfrhIXUX6u97UZzNTuw=; b=jFCPUu1v2qoex2bnB1ljVg5zlzi+Hou2ko5zjDVm28oi1ZFcZjtWt6S/A2ayhz9tNZ mMasb1yjkMVo13zTPWxhXhyX16ns8Eid081Hu0A0TRyrBUokFsOH8pUv1A0HD7D4X06S DPTgQogrJdZEErK13rRIjx1fCViD+9mRGlwwU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=gElALNFz2stJNIbUwEPWwrc7pucaYtt3Hl8aVWMSjBDaIgnv79sitzPEgLe40lireC gMh+7iEIS3DlY7Ne074JWP40zL48kFmdR8NbRiAA0fSjLdtMWcY9+k3kXBvd/3z3y0ET s/uOoZL+akxlKRfeJANKUtXKdCdW/WwkwKvR4= MIME-Version: 1.0 Received: by 10.220.124.223 with SMTP id v31mr897115vcr.89.1260802481260; Mon, 14 Dec 2009 06:54:41 -0800 (PST) Date: Mon, 14 Dec 2009 09:54:41 -0500 Message-ID: From: Peter Fraser To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Jails in FreeBSD 8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 15:17:27 -0000 Hi All I installed FBSD 8 and got some jails up using the instructions in the handbook. My question is this. Do you still have to use the alias IP address on the host that you want the jail to have? Example: I want my jail to have ip address 192.168.2.5 I put these entries in rc.conf on the host #Jail Config jail_enable="YES" jail_set_hostname_allow="NO" jail_list="www" jail_www_hostname="www.mydomain.com" jail_www_ip="192.168.2.5" jail_www_rootdir="/usr/home/jails/www" jail_www_devfs_enable="YES" Do I also need this entry below? ifconfig_vr0_alias0="inet 192.168.2.5 netmask 255.255.255.0" I'm asking because I find that if I do not put the above alias entry in, I cannot ssh in to the box and I wasn't sure if I was doing something wrong.