Unable to configure static IP addresses

Hi,

I’m new to TrueNAS and I’m having some trouble setting up static IP addresses.

I’m running TrueNAS Community Edition 25.04.2.4 on a TerraMaster F6-424, which has two 10GbE NICs. I’ve configured:

  • NIC 1 on VLAN 20
  • NIC 2 on VLAN 21

In the TrueNAS UI, these appear as:

  • enp3s0 (VLAN 20) – currently using DHCP
  • enp4s0 (VLAN 21) – currently using DHCP

I can access the UI via both DHCP-assigned addresses:

  • enp3s0: 192.168.20.224
  • enp4s0: 192.168.21.255

I now want to assign static IPs to both interfaces. My DHCP range starts at .100 in both VLANs, so I plan to use .6 for each static IP.

Here’s what I did for enp3s0:

  1. Edited the interface.
  2. Unchecked DHCP and Autoconfigure IPv6.
  3. Set the static IP to 192.168.20.6/24.
  4. TrueNAS warned that the default gateway would be removed. I re-entered the current gateway: 192.168.20.1.
  5. Clicked Register, then Test Changes, and confirmed.

After that, the UI showed “Please wait…” and logged me out. I then saw the message:

“Connecting to TrueNAS… Make sure the TrueNAS system is powered on and connected to the network.”

After about a minute, I was logged back in—but the static IP wasn’t applied. The interface still shows the DHCP address, and when I edit it again, DHCP is re-enabled.

Any idea what I might be doing wrong?

Thanks,
Pete

during those 60 seconds the settings are getting tested, and if you fail to tick the apply changes it reverts the changes.
Try to increase the test time from 60 to something higher and open the truenas webui in an new window and finally apply the changes.

You need to manually enter the new IP address in your browser and reconnect to the UI before the timeout expires.

2 Likes

Thanks - that was the issue