Configure an Interface as a DHCP Client

Before configuring a firewall interface as a DHCP client, make sure you have configured a Layer 3 interface (Ethernet, Ethernet subinterface, VLAN, VLAN subinterface, aggregate, or aggregate subinterface), and the interface is assigned to a virtual router and a zone. Perform this task if you need to use DHCP to request an IPv4 address for an interface on your firewall.
  1. Configure an interface as a DHCP client.
    1. Select NetworkInterfaces.
    2. On the Ethernet tab or the VLAN tab, Add a Layer 3 interface, or select a configured Layer 3 interface, that you want to be a DHCP client.
    3. Select the IPv4 tab; for Type, select DHCP Client.
    4. Select Enable.
    5. (Optional) Select Automatically create default route pointing to default gateway provided by server. This causes the firewall to create a static route to a default gateway that will be useful when clients are trying to access many destinations that do not need to have routes maintained in a routing table on the firewall.
    6. (Optional) Select Send Hostname to assign a hostname to the DHCP client interface and send that hostname (Option 12) to a DHCP server, which can register the hostname with the DNS server. The DNS server can then automatically manage hostname-to-dynamic IP address resolutions. External hosts can identify the interface by its hostname. The default value indicates system-hostname, which is the firewall hostname that you set in DeviceSetupManagementGeneral Settings. Alternatively, enter a hostname for the interface, which can be a maximum of 64 characters, including uppercase and lowercase letters, numbers, period (.), hyphen (-), and underscore (_).
      dhcp-client-send-hostname.png
    7. (Optional) Enter a Default Route Metric (priority level) for the route between the firewall and the DHCP server (range is 1-65535; there is no default metric). A route with a lower number has higher priority during route selection. For example, a route with a metric of 10 is used before a route with a metric of 100.
    8. (Optional) Select Show DHCP Client Runtime Info to see all of the settings the client has inherited from its DHCP server.
  2. Commit your changes.
    Click OK and Commit.
    Now the Ethernet interface indicates Dynamic-DHCP Client in its IP Address field on the Ethernet tab.
  3. (Optional) See which interfaces on the firewall are configured as DHCP clients.
    1. Select NetworkInterfacesEthernet and look in the IP Address field to see which interfaces indicate DHCP Client.
    2. Select NetworkInterfacesVLAN and look in the IP Address field to see which interfaces indicate DHCP Client.

Related Documentation