After upgrading to 9.2.0 I gave vlan support for jails another try - what shall I say, it worsk! (with a little help)
The UI still lacks of a necessary feature: Select custom interface for bridging with jails epair device
Without a little help it always selects the device the default gateway corresponds to. What does not work, when one wants to have jails in a different vlan.
Fortunatelly the warden scripts are prepared for that already.
All I needed was to create a proper file including the desired vlan interface:
Code:
[root@freenas2] ~# cat /mnt/tank0/jails/.bacula-sd_1.meta/iface
vlan103
[root@freenas2] ~#
Second thing i need to assure was to move the IP address from the vlan interface to the 'IPv4 bridge address' setting of the jail.
The vlan interface may not have an IP address set! (At least not the same address)
Now I got:
vlan101 (FreeNAS UI, default gateway)
vlan103 (Jail applications)
working!
When there is a firewall between vlan101 and vlan103 one might need to add a rule from the jail's ip address to the the FreeNAS UI ip address and port.
That is necessary for updating the configuration menu from plugins.