Best approach for managing network address of ezjails?

Hi all,

I want to experiment with jails, creating and throwing them away at will.
I want to avoid having to manually assign LAN or loopback IP addresses (that would be a distraction from what I actually want to do with the jails).

There is a DHCP server in the physical LAN.
I see two basic networking options: (1) each jail is visible with its own IP address and host name in the LAN, (2) the FreeBSD host acts as a router for its jails. I don't care much, except which of them is easier to setup and operate :-)
 
I would start with the lowest possible number - say two words - and an example would be "jail network".
 
See /usr/share/examples/jails/rc.conf.jails
Code:
#
# To allow dhclient(8) to work inside a jail, make sure the following appears
# in /etc/devfs.rules (which should be created if it doesn't exist):
#
# [devfsrules_jail=11]
# add include $devfsrules_hide_all
# add include $devfsrules_unhide_basic
# add include $devfsrules_unhide_login
# add path 'bpf*' unhide
#
 
Back
Top