Network → Interfaces is used to view which interfaces have been manually configured, to add a manually configured interface, and to edit an interface's manual configuration.
NOTE: typically the interface used to access the FreeNAS® administrative GUI is configured by DHCP. This interface will not appear in this screen, even though it is already dynamically configured and in use.
Figure 5.2a shows the screen that opens when you click Interfaces → Add Interface. Table 5.2a summarizes the configuration options when you Add an interface or Edit an already configured interface.
Figure 5.2a: Adding or Editing an Interface
Table 5.2a: Interface Configuration Settings
|NIC||drop-down menu||select the FreeBSD device name; will be a read-only field when editing an interface|
|Interface Name||string||description of interface|
|DHCP||checkbox||requires static IPv4 or IPv6 configuration if unchecked; note that only one interface can be configured for DHCP|
|IPv4 Address||IP address||set if DHCP unchecked|
|IPv4 Netmask||drop-down menu||set if DHCP unchecked|
|Auto configure IPv6||checkbox||if checked, use rtsold(8) to configure the interface; requires manual configuration if unchecked and wish to use IPv6|
|IPv6 Address||IPv6 address||must be unique on network|
|IPv6 Prefix Length||drop-down menu||match the prefix used on network|
|Options||string||additional parameters from ifconfig(8), one per line; for example: mtu 9000 will increase the MTU for interfaces that support jumbo frames|
This screen also allows you to configure an alias for the interface. If you wish to set multiple aliases, click the "Add extra alias" for each alias you wish to configure. To delete an alias, highlight the interface in the tree to access its "Edit" screen. Be sure to check the "Delete" checkbox associated with the alias. If you instead click the "Delete" button at the bottom of this screen, you will delete the whole interface, not just the alias.
When configuring multiple interfaces, they can not be members of the same subnet. Check the subnet mask if you receive an error when setting the IP addresses on multiple interfaces.
When configuring an interface for both IPv4 and IPv6, this screen will not let you set both addresses as primary. In other words, you will get an error if you fill in both the IPv4 address and IPv6 address fields. Instead, set one of these address fields and create an alias for the other address.