Making multiple jails

Franklin Chef(news) franklinchef at gmail.com
Sun Apr 17 09:26:23 PDT 2005


Matt wrote:

> I'd like to create five jails on one machine.  Is it possible to make 
> them all at the same time?  I'm only familiary with creating them 
> individually (DESTDIR=/foo/bar).  Thanks much.
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to 
> "freebsd-hackers-unsubscribe at freebsd.org"
>
No problem, you can run multiple jail at the same time. All you have to 
do is to create different jail directories and edit rc.conf like this:

jail_enable="YES"
jail_list="jail1 jail2 jail3"

jail_jail1_hostname="jail1.jail.org"
jail_jail1_ip="192.168.4.100"
...

jail_jail2_hostname="jail2.jail.org"
jail_jail2_ip="192.168.4.101"
...

jail_jail3_hostname="jail3.jail.org"
jail_jail3_ip="192.168.4.102"
...


More information about the freebsd-hackers mailing list