Building a Jail in FreeBSD or NetBSD for a hosting environment

Wes Santee wsantee at gmail.com
Mon Feb 27 21:20:06 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Nick Larsen wrote:
> [snip]
> Also do I need an individual IP for each jail? because each physical server
> will have 1 IP unless the customer requests a dedicated IP.
> 
> Any help would be appreciated, and I have tried to research it but end up
> going round in circles.

I found sysutils/ezjail in the ports tree to be very helpful in setting
up jails.  Just needed an up to date buildworld and it did the rest.

http://erdgeist.org/arts/software/ezjail/

On my 6.0 machine it's worked like a charm.  Once you get the hang of
it, you can use the Flavours feature to cut down on post-jail configuration.

As far as I know, you do need 1 IP per jail, which is aliased off the
interface the jail is running under (check out the ifconfig_iface_alias
example in /etc/defaults/rc.conf if you've not done this before).

Hope that helps.

Cheers,
- -Wes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)

iQIVAwUBRAPdcorq8W17hxGfAQgTfw/8C9VAXS45AeNJQC8R1wQyqKgrke7PybrG
X9vWjqiZXFPY/LGgx0Nlpc5IkZRK+M7GM4LBmF75/A09hMwj6DS82s89gQMfsC/1
TFrPJqmoDK1rDoMe1YMiCR2UcyvD7MEdWOQ9WMmrBK1vgPIBEybbhB+mQWz3tt1f
vZr/wGh113xDDIJqmop7VPPs6AW2py6cpEvrV2NB3vi6YmkX9xBRU+fYQoyN1NPU
pq1HwkqcyG9zbgqnC4L7vyvrmw8d4CpS0VCw6vjx7NY5ZGAWDcPqL+LRpf4X0OpH
KI38jXQBTFJF9SIwVz0pPl/yp85kj0Js3BEmr+OmD3rbuyRZTbXyaxO9LiHiirvl
ZTgeDoDZTx28b4glyV+QRXrk4h4ak/aJ2Pgp7BYIfaYhRppDCKncdGcseDazSQX1
H40Gqnb6DRdVlW4bC9wYdv8ekvVrkPiVWfr3caipi4brzUrewjL7aoMEdt8M+PD7
Kml/gDLWX8tioUhM666q3kvJPPgk9rGfwSRuPtarJ6SYKQbyN/YXb89AeB0wU1P+
ILxl1tvjw15nd32Po9xpuySMIJoEuPoJMTOrRfDEEiM8tj9bJf5HG4mLBPGqKpUi
Ucxbp506LRIvGe9zOHz5rMgXl4UAbAZr7IDYlzjbfR6/wvIT6aNm6BBl6V0uWtBf
9P+dTHFEvZo=
=iRN+
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list