Multiple Gateways on TrueNAS

Hello!

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: 10.0.3.1 (General devices can access this network)
Igb3 VLAN 4 Gateway: 10.0.4.1 (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.

Thanks!

Did you watch this video?