Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2012 14:50:38 -0500
From:      Mark Felder <feld@feld.me>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Changes in Jails from FreeBSD 6 to FreeBSD 9 -- particularly, networking and routing
Message-ID:  <op.wcpyqodb34t2sn@tech304>
In-Reply-To: <BCF3FB8D-7FF0-4CB4-8491-6472EDED96B2@shire.net>
References:  <BCF3FB8D-7FF0-4CB4-8491-6472EDED96B2@shire.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Do I understand this right?


Working in FreeBSD 6.x:

interface em0: 1.2.3.4/24  <-- public IP, host only
            192.168.1.1/24  <-- private IP, host only
            192.168.1.2/24  <-- Jail #1
            192.168.1.3/24  <-- Jail #2


With this configuration you had no problems accessing the internet from  
the jails.

Is this correct? This seems bizarre; this should only be possible if  
you're doing NAT somewhere in there and that is not possible with Jails v1  
(which share a network stack) and is only possible in Jails v2 (vnet).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wcpyqodb34t2sn>