Truenas CE VLANs

Hello,

I’m new to the forum and think I might get good answers here. I searched the web and the truenas forums but did not get the Answers I’m looking for.

I recently switched from core to community edition and tried to recreate my network but it seams that vlans under Linux don’t act like they do in FreeBSD.
My problem is that only the gateway specified for the truenas management seem to be forwarded inside the truenas network.
I got a bond0 interface with multiple vlan and br.
If I set static IPs for containers or VMs and set their aliases on the corresponding br everything works as expected.
If I try to use dhcp set on a br without alias I get no connection in or out of a VM or app.
If I use the br that the management is using I can reach out from within an VM or app but traffic is not returned (I guess because the br does not have the self assigned ip as alias).
I need a dhcp solution without using the management lan.

Any advice or experience is welcome.

Under TN core I never had any issue with vlan routing.

Thanks in advance

TrueNAS CE only allows for one interface to be DHCP and only allows for one interface to have a gateway.

And the DHCP hast to be the Gateway set? I tried DHCP on a different Vlan br than the gateway and it did not work.

I do believe it does have to be the main interface.

Thanks for the replies.

So bare metal TN CE is more or less only usable with aliases if segmentation is needed.

If I needed a VM that installs via netboot and so it needs dhcp would it be possible to create it on a different system and import it to TN?
And if so what system would be the easiest, quickest and most compatible?

They just changed up the virtualization and I have not done any testing with it as I don’t really use it.