Using 'Jails' like Solaris Zones??

Miroslav Lachman 000.fbsd at quip.cz
Sun Jan 10 22:00:25 UTC 2010


Kaya Saman wrote:

[...]

> Since FreeBSD has all the software I require and is quite easy on system
> resources I was considering using 'Jails' where in Solaris I would be
> using Zones to dedicate an individual IP address to each instance of Bind.
>
> However, is it possible to dedicate a specific NIC to each instance of
> Bind as well since this is really what I would be doing in Solaris???
>
> Apologies if I seem a bit vague on which OS I will choose, it's just
> that I am trying to consolidate as many services as possible without
> requiring any more hardware.

AFAIK FreeBSD jail can't be bound to a specific NIC, but can be bound to 
IP address(es) and addresses can be assigned to a different NICs.
It means, if you have following NICs: nic0, nic1 and IPS on NICs:
nic0 = 10.10.10.10
nic1 = 10.20.20.20

Then if you start first jail with IP 10.10.10.10 and second jail with IP 
10.20.20.20, then first jail will use nic0 and second jail will use nic1

You can also use more than one IP from more than one NIC in one jail 
thanks to BZs work on multi-ip jail (since 7.2)

Miroslav Lachman


More information about the freebsd-jail mailing list