Get a Quote     (408) 943-4100               TrueNAS Discord      VendOp_Icon_15x15px   Commercial Support Toggle between Light and Dark mode

Configuring Static Routes

  2 minute read.

Last Modified 2022-12-28 17:05 EST

TrueNAS does not have defined static routes by default but TrueNAS administrators can use the Static Routes widget on the Network screen to manually enter routes so the router can send packets to a destination network.

When do you configure a static IP address? Static IP addresses are use to set a fixed address for an interface that external devices or websites need to access or remember, such as for VPN access.

Use aliases to add multiple internal IP address, representing containers or applications hosted in a VM, to an existing network interface without having to define a separate network interface.

In the UI, you can add aliases when you add an interface or edit an existing interface. Use the Add button in the Static IP Address widget to add a static IP address.

From the Console setup menu, select option 2 to configure network settings and add alias IP addresses, or option 3 to add a static IP address.

If you have a monitor and keyboard connected to the system you can use the Console setup menu to configure static routes during the installation process, but we recommend using the web UI for all configuration tasks.

If you need a static route to reach portions of the network, from the Network screen:

  1. Click Add in the Static Routes widget. The Add Static Route configuration screen displays.


  2. Enter a value in Destination. Enter the destination IP address and CIDR mask in the format A.B.C.D/E where E is the CIDR mask.

  3. Enter the gateway IP address for the destination address in Gateway.

  4. (Optional) Enter a brief description for this static route, such as the part of the network it reaches.

  5. Click Save.

Related Content