A new TrueNAS install has no address unless your network hands one out. Give it a fixed address from the console so you can reach its web page.
You can reach the TrueNAS web page to set it up.
A new install has no address on a network without DHCP, and the console step that keeps the address is easy to miss.
Match the card by its hardware address, set the address, apply and persist it, then set the gateway and DNS.
The example
| Setting | Value |
|---|---|
| Address | 10.0.30.40/24 |
| Gateway | 10.0.30.1 |
| DNS servers | 10.0.20.10 and 10.0.20.11, the domain controllers |
| Name | CON-NAS-01 in ad.contoso.com |
Find out which card is which
TrueNAS lists network cards by hardware address, not by the names you gave them in Hyper-V. Get the addresses from the host.
Get-VMNetworkAdapter -VMName 'CON-NAS-01' | Format-Table Name, MacAddress -AutoSize
Hyper-V shows 00155D539014. TrueNAS shows the same card as 00:15:5d:53:90:14. Note the one for Mgmt.
Set the address on the management card
In the TrueNAS console:
- Choose Configure network interfaces.
- Open the card whose hardware address matches Mgmt.
- Set ipv4_dhcp to No.
- Under aliases, enter
10.0.30.40/24. Include the/24. - Save.
Apply and persist
Saving is not enough. Back on the list of cards:
- Press a to apply the change.
- Press p to persist it.
If you apply and do not persist, TrueNAS puts the old settings back. This protects you from locking yourself out, but it catches people who stop after Save.
The card should now show 10.0.30.40/24 in the list.
Set the name, gateway and DNS
Go back to the main menu and choose Configure network settings.
| Field | Value |
|---|---|
| hostname | CON-NAS-01 |
| domain | ad.contoso.com |
| ipv4gateway | 10.0.30.1 |
| nameserver1 | 10.0.20.10 |
| nameserver2 | 10.0.20.11 |
Choose Save.
Check you can reach it
The console menu now shows the web address. Test it from a PC on your management network.
Test-NetConnection 10.0.30.40 -Port 443
TcpTestSucceeded : True means the web page is up. Open https://10.0.30.40 and sign in as truenas_admin. The browser warns about the certificate on a new install. That is expected.
Problems and fixes
"Gateway 10.0.30.1 is unreachable"
TrueNAS refuses a gateway it has no address near. The card has no address yet, or the address went in without /24, or the change was saved but not applied and persisted. Go back to step 2, then step 3, then try the gateway again.
The address disappears after a minute
The change was applied but not persisted. Set it again and press p straight after a.
The test fails
Check the card is on the right VLAN in Hyper-V, and that your firewall lets the management network reach this address on port 443.
Done when
The console menu shows the web address, the port test succeeds, and you can sign in to the web page.


