Multiple Gateways on TrueNAS


So I’m new to TrueNAS Core and I can’t seem to get the network side of things working correctly.

I have two ethernet cables plugged in from my US-24-250W.

igb0 VLAN 3 Gateway: (General devices can access this network)
Igb3 VLAN 4 Gateway: (XCPNG Hosts can access this network for ISCSI etc)

When I leave the interfaces on DHCP I can connect to the web gui on both networks. However, when I try to set static IPs on both interfaces the settings don’t save and just revert to the old ones. From what I understand it doesn’t work because each interface has it’s own gateway and the UI only allows you to input one.

How do I set this up so that the server can be accessed from both VLANs independently? What am I doing wrong?

Any advice would be much appreciated.


Did you watch this video?

Hi. Thanks for the link.

I watched it and It did help me understand how TrueNAS handles networking a bit better.

But, I still can’t get it to work on my system. The way I have it set up is rather than passing through All of the VLANs on one interface and then peeling them out. I have two different interfaces from my switch with the switch port profiles for the .3 and .4 networks selected.

When I set a static IP I can get to the NAS on 10.3.20 if I put in the gateway ( on the global configuration page. However, I can’t seem to get to it on the static IP address.

What am I missing?

Thanks again