Jails and multiple IPs

Redd Vinylene reddvinylene at gmail.com
Fri Aug 1 10:51:50 UTC 2008

Big ups to Bjoern A. Zeeb for his multiple IP patch as well as his
friendly support service ;)

I'd just like to confirm, however, if this is how it's done?

# cd /usr/src
# wget http://people.freebsd.org/~bz/bz_jail7-20080727-11-at146062.diff
# patch -p6 < bz_jail7-20080727-11-at146062.diff
# make buildworld
# make buildkernel KERNCONF=GENERIC
# make installworld
# make installkernel KERNCONF=GENERIC
# mergemaster -U

Now to the jail part (this is exactly how I created the jail in the first place)

# export D=/usr/jail/camel
# mkdir -p $D
# make world DESTDIR=$D
# cd etc/
# make distribution DESTDIR=$D
# mount -t devfs devfs $D/dev

Also, under jail_X_ip in rc.conf, must I enter the IPs one by one or
can I specify an entire range?

Thank you all!

Redd Vinylene

More information about the freebsd-questions mailing list