I’m running TrueNAS 24.10.2.1 and I’m trying to change the IP Address assigned via DHCP. I’ve tried several different things and nothing seems to work. The only option that appears to work is just adding an IP Address to network interface which is not what I want to do. I want to assign a static primary IP Address to the network interface and I found no way to do that. I’ve turned off DHCP in TrueNAS with the only option to add and IP Address. My True NAS server is not very easy to access so I’m trying to make the change using the GUI web interface remotely. How can this be done?
So, if you want to change the ip address and you have DHPC, all you need to do is go to the dhcp server and add a static map to the mac address of your network interface card to the ip address you want. Generally it will take up to 24 hours to re-ip unless you have a longer or shorter DHCP lease duration.
That’s the only way to do it and keep DHCP, the right thing to do is put a static ip address on the interface, which means turning DHCP off and adding the ip address/netmask/dns servers to the interface.
Also, if you do put a static map in and want it to take effect sooner, the easiest thing to do if you are remote is reboot the server.
I have similar issues:
I wanted to use fixed IP, but when I went to the menu, I could only unselect DHCP, but there was no way to enter a new IP address to the system.
I could add gateway and DNS data though…
Had to go to my router and assign a static IP to the MAC address.
I tried this through the console and not the WebUI “Networks” tab.
Thank you! I already set it up wit my router.
However, this is exactly the thing I dont really like in Ix systems.
My previous install was 23.10.
There it worked like in any other linux (or even Windows) environments. There is ONE place, where you can set up ALL, network relevant data.
Why did they change this?
Then you either select an interface and press Enter or press n to create a new interface. In the Update Network Interface screen for the interface you clear dhcp if needed and then select “aliases” and enter the static IP address for the interface there.
My TrueNAS server has six/6 network interfaces. Given the information that you provided I was able to change the IP address for one/1 on the six/6. However, after making the change I rebooted my server. When the reboot was complete my remaining network interfaces went down and now I’m unable to start them backup via the GUI. When I try change the IP Address the following message “[EINVAL] interface_update.aliases.0: The network AAA.BBB.ZZZ.0/24 is already in use by another interface.” I’m not trying to assign an IP Address “AAA.BBB.ZZZ.0/24”. Also how do I restart/bring up the downed network interfaces?