jail networking beginner (NAT bastille0 or NAT vtnet0bridge)

Hi team!
i am wondering what's the good way of doing something like this:
* server1 + server2 + switch VLAN
* isolation between host and jail and also jail to jail when desired
* put some jail on the VLAN
1736705974617.png

using bastille0 like?
Code:
sysrc cloned_interfaces+=lo1
sysrc ifconfig_lo1_name="bastille0"
service netif cloneup

then create my jail like this
bastille create jail3-server1 14.0-RELEASE 10.20.30.3/24

then create another lo2 for VLAN
Code:
sysrc cloned_interfaces+=lo2
sysrc ifconfig_lo2_name="bastille1"
service netif cloneup
 
Back
Top