Hazimil
Contributor
- Joined
- May 26, 2014
- Messages
- 172
Hi
I've been reading up on iocage Jails, and some of the resources I have read recommend that vnet is the way to go, as "VNET provides more fine control and isolation for jails.". However, networking is not my strong point, and I was after a clarification on the ip4_addr=vnet0 part.
Do I create a new vnet for each jail, i.e. ip4_addr=vnet0, ip4_addr=vnet1, ip4_addr=vnet2, and onwards... etc. or is there a limit of the amount of vnet's available? Can more than once Jail share the same vnet, but with different IP address?
I know I can use the GUI to create the Jails, but like to understand a bit more about the process - it's all learning!
Yours
Jonathan
I've been reading up on iocage Jails, and some of the resources I have read recommend that vnet is the way to go, as "VNET provides more fine control and isolation for jails.". However, networking is not my strong point, and I was after a clarification on the ip4_addr=vnet0 part.
Code:
iocage create -n ClamAV ip4_addr="vnet0|192.168.0.105/24" -r 11.2-RELEASE vnet="on" allow.raw_sockets=”1” defaultrouter="192.168.0.1”
Do I create a new vnet for each jail, i.e. ip4_addr=vnet0, ip4_addr=vnet1, ip4_addr=vnet2, and onwards... etc. or is there a limit of the amount of vnet's available? Can more than once Jail share the same vnet, but with different IP address?
I know I can use the GUI to create the Jails, but like to understand a bit more about the process - it's all learning!
Yours
Jonathan