From owner-freebsd-stable@FreeBSD.ORG Wed Oct 26 07:54:44 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 386121065784 for ; Wed, 26 Oct 2011 07:54:44 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id BDAB58FC1B for ; Wed, 26 Oct 2011 07:54:43 +0000 (UTC) Received: by wyi40 with SMTP id 40so1778181wyi.13 for ; Wed, 26 Oct 2011 00:54:42 -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:references :in-reply-to:content-type:content-transfer-encoding; bh=1702w4XkfYULwZ+BtjjAzhxNwy3nDx4/Yi2FGXQRbBY=; b=cIRgnQiIFergVkiy8SypWjfzZegD3wBKQf57PCedn8dT8OprqLXuv1qkoI9CpLHSTI CySJVGyMSCePnbMFamsQqow9MuAPyB5alW1u3tMOh01jhBRvu7zpUVZ/cQ2xV/qT45bq 5kCUiiaOWhM4CUOYHpkKPUcS1NzDCvj/Mipfs= Received: by 10.227.197.20 with SMTP id ei20mr8236342wbb.26.1319615682639; Wed, 26 Oct 2011 00:54:42 -0700 (PDT) Received: from silmaril.hpulabs.org (46.Red-88-24-104.staticIP.rima-tde.net. [88.24.104.46]) by mx.google.com with ESMTPS id x40sm1531721wbn.19.2011.10.26.00.54.40 (version=SSLv3 cipher=OTHER); Wed, 26 Oct 2011 00:54:41 -0700 (PDT) Message-ID: <4EA7BCBF.6030001@gmail.com> Date: Wed, 26 Oct 2011 09:54:39 +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 References: <4EA721A7.8050905@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: 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: Wed, 26 Oct 2011 07:54:44 -0000 On 10/26/2011 12:38 AM, George Kontostanos wrote: > On Tue, Oct 25, 2011 at 11:52 PM, carlopmart wrote: >> 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?? > > ezjail doesn't necessarily install a release version.< ezjail-admin > update -p -i> will install the basejail from your source. I have installed this jail using "ezjail-admin install". I can't compile source every time that I need to do an update in this 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. > > gateway_enable="YES" > should take care of this. In host or in the jail?? > >> >> Thanks. >> -- >> CL Martinez >> carlopmart {at} gmail {d0t} com >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >> > > Regards > -- CL Martinez carlopmart {at} gmail {d0t} com