45Drives Knowledge Base
KB450199 - Setting up Static IP in FreeNAS via Command Line
https://knowledgebase.45drives.com/kb/kb450199-setting-up-static-ip-in-freenas-via-command-line/

KB450199 - Setting up Static IP in FreeNAS via Command Line

Posted on February 27, 2020 by Rob MacQueen


  1. Once FreeNAS has booted up and you see the main menu (below), type 1 then return to start configuring the network interface(s). We only have one in this tutorial.

  1. You will then be prompted to select an interface. Enter the number not the name of the interface. E.g. 1.

  1. You will be asked if you wish to reset the interface. Enter n for no. We are changing the settings instead.

  1. When asked if we are configuring for DHCP, enter n.

  1. You will then be prompted for either a full CIDR or an IP followed by the subnet. I found it easier to enter the latter.


***Your details will probably be 192.168.1.x and 255.255.255.0 where x is the IP you wish to give your FreeNAS box.***

  1. Configuration is now complete. You should now see the IP listed on the main menu page.

  1. Try and navigate to the address specified and check that you have a web interface. It should look something like below if you were successful.

KB450199 - Setting up Static IP in FreeNAS via Command Line - 45Drives Knowledge Base
Did you know  45Drives offers free  public and private  webinars ? Click here to learn more  & register! Build & Price

KB450199 – Setting up Static IP in FreeNAS via Command Line

You are here:
  1. Once FreeNAS has booted up and you see the main menu (below), type 1 then return to start configuring the network interface(s). We only have one in this tutorial.

  1. You will then be prompted to select an interface. Enter the number not the name of the interface. E.g. 1.

  1. You will be asked if you wish to reset the interface. Enter n for no. We are changing the settings instead.

  1. When asked if we are configuring for DHCP, enter n.

  1. You will then be prompted for either a full CIDR or an IP followed by the subnet. I found it easier to enter the latter.


***Your details will probably be 192.168.1.x and 255.255.255.0 where x is the IP you wish to give your FreeNAS box.***

  1. Configuration is now complete. You should now see the IP listed on the main menu page.

  1. Try and navigate to the address specified and check that you have a web interface. It should look something like below if you were successful.

Was this article helpful?
Dislike 8
Views: 4977
© 2024 - 45Drives Knowledge Base
Unboxing Racking Storage Drives Cable Setup Power UPS Sizing Remote Access