Changes in Jails from FreeBSD 6 to FreeBSD 9 -- particularly, networking and routing

Mark Felder feld at feld.me
Fri Apr 13 19:50:46 UTC 2012


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).


More information about the freebsd-questions mailing list