Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been reading over the creation of Jails on FreeBSD, and one stumbling block I have is regarding network interfaces.

Say my local router is, and the BSD box is I would like jails on

Do I just define them in rc.conf (without any other work), or do I have to set up a bridge or something like that (I see FreeNAS uses a bridge)?

I'm not particularly strong the networking side of things, so any good explanation about how the Jails share and access the network would be valuable.

share|improve this question
up vote 2 down vote accepted

Jails get ip aliases on your network interface. If the jails use the same interface as the host and are on the same subnet you don't need to do any additional routing.

If your jails do not use the same interface you would need to bridge the primary interface with the interface the Jails use.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.