TrueNAS SCALE with a static IP address

How to set a static IP address on TrueNAS SCALE

by

Like most device operating systems, TrueNAS SCALE allows you to configure a static IP address for each network link. This can help maintain connections with the network-attached storage (NAS) on various hardware with the same IP address assigned each time it boots up. I’ll show you how to do it in a matter of seconds.

TrueNAS SCALE

TrueNAS SCALE
TrueNAS SCALE. (Source: iXsystems)

TrueNAS Scale is a powerful operating system for running a home or office NAS. You can easily deploy apps and services, store data, and manage multiple user accounts.

What is a static IP address?

Most home and office-based networks use Dynamic Host Configuration Protocol (DHCP) to assign IP addresses to all connected devices. This makes it easy to get up and running without configuring anything per device. The drawback is that IP addresses can often change with each connection. This is no good for a server, such as a NAS running TrueNAS SCALE. All connections will break if the server IP address changes with a reboot.

You’ll need to find the new IP to load up the web admin UI. All file browser connections will need to be edited. It’s no fun at all. That’s where a static IP address comes into play. A static IP address differs from a dynamic IP address in that it’s constant. So long as the IP address set on the device is available on the LAN, the network will provide the desired address with each connection.

How to set a static IP address on TrueNAS SCALE

Setting up TrueNAS SCALE to use a static IP is a straightforward process, but it’s possible to get slightly lost along the way. Follow my guide below and you’ll be using a new IP in no time.

Tip

Make sure to back up all your data before reconfiguring a network interface. Things can go wrong and you could run the risk of breaking something. Always back up your NAS!

  1. Log into TrueNAS SCALE.
  2. Go to Network.
  3. Click on the edit icon next to the network interface.
  1. Uncheck “DHCP.”
  2. Click Add under “Aliases.”
  3. Enter an IP address.
  1. Click Save.
  2. Click Test.
  3. Open a new browser tab and load the static IP address.
  4. Log into TrueNAS SCALE.

Warning

If you do not load up the new tab and log in using the new IP address within 60 seconds, TrueNAS SCALE will revert the network interface changes and you’ll have to follow steps 3-7 again.

Once complete, your TrueNAS installation will be configured to use the new static IP address when available. You can safely close the old IP address tab and use the new static IP whenever connecting to the web admin UI and the NAS through enabled services.

Categories
Richard Pinnock-Edmonds Avatar

Latest articles