From owner-freebsd-stable@FreeBSD.ORG Tue Oct 25 20:53:01 2011 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 9AC3B1065741 for ; Tue, 25 Oct 2011 20:53:01 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 35D9B8FC18 for ; Tue, 25 Oct 2011 20:53:00 +0000 (UTC) Received: by wwi18 with SMTP id 18so1421592wwi.31 for ; Tue, 25 Oct 2011 13:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=+Mtu4VllanwApUSNEJcLH3UZbyKoz20uZk8z4dSs0G8=; b=q2FtX9k8nhbgrzZGpsQGV7HcmRn7/77s/lOBwOSSnZiU597+Y87OVPY3BdFzOU0vF+ LVKM/TR2XYTwrmAOEbrkUsk5czHGjxcS3t/KWXPgCMk8sWzk52R4WwZljOooVf/NpImN Dxi858BmDjmvqrI7Bbg3XHwGgvbPx4mFj22i4= Received: by 10.227.202.143 with SMTP id fe15mr5878142wbb.25.1319575980079; Tue, 25 Oct 2011 13:53:00 -0700 (PDT) Received: from silmaril.hpulabs.org (69.Red-83-43-25.dynamicIP.rima-tde.net. [83.43.25.69]) by mx.google.com with ESMTPS id x40sm41018232wbn.19.2011.10.25.13.52.57 (version=SSLv3 cipher=OTHER); Tue, 25 Oct 2011 13:52:58 -0700 (PDT) Message-ID: <4EA721A7.8050905@gmail.com> Date: Tue, 25 Oct 2011 22:52:55 +0200 From: carlopmart User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110929 Red Hat/3.1.15-1.el6_1 Lightning/1.0b2 Thunderbird/3.1.15 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Some questions about jails on FreeBSD9.0-RC1 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: Tue, 25 Oct 2011 20:53:01 -0000 Hi all, I have installed one FreeBSD 9.0-RC1 host to run different services (dns, smtp and www only) using jails. This host has two physical nics: em0 and em1. em0 is assigned to pyhiscal host, and I would like to assign em1 to jails. But em0 and em1 are on different networks: em0 is on 192.168.1.0/24 and em1 in 192.168.2.0/29. I have setup one jail using ezjail. My first surprise is that ezjail only installs -RELEASE versions and not RC versions. Ok, I supouse that it is normal. But my first question is: can I install a FreeBSD 8.2 jail under a FreeBSD 9.0 host?? And the real question: How do I need to configure network under this jail to access it? I have configured ifconfig param for em1 on host's rc.conf, but what about the default route under this jail?? I thought to use pf rules, but I am not sure. Thanks. -- CL Martinez carlopmart {at} gmail {d0t} com