Date: Wed, 26 Oct 2011 09:54:39 +0200 From: carlopmart <carlopmart@gmail.com> To: freebsd-stable@freebsd.org Subject: Re: Some questions about jails on FreeBSD9.0-RC1 Message-ID: <4EA7BCBF.6030001@gmail.com> In-Reply-To: <CA%2BdUSyqKuVm2xrMGW-vobdJGZG3o_7nbkFoZ%2Bn1bytUiHiasHA@mail.gmail.com> References: <4EA721A7.8050905@gmail.com> <CA%2BdUSyqKuVm2xrMGW-vobdJGZG3o_7nbkFoZ%2Bn1bytUiHiasHA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10/26/2011 12:38 AM, George Kontostanos wrote: > On Tue, Oct 25, 2011 at 11:52 PM, carlopmart<carlopmart@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EA7BCBF.6030001>