This article describes how to configure an SRX Series device as a DHCP client and provides information about verifying and troubleshooting your configuration. For other topics, go to the SRX Getting Started main page.
Configure an SRX Series device to be a DHCP client.
This section contains the following:
To configure an SRX Series device to act as a DHCP client, you specify the interface on which you want to enable the DHCP client and specify DHCP as a host-inbound service for the security zone to which the interface is bound. To specify the interface on which to enable the DHCP client:
To configure an SRX Series device to act as a DHCP client:
user@host# set interfaces fe-0/0/7 unit 0 family inet dhcp
user@host# set security zones security-zone untrust interfaces fe-0/0/7.0 host-inbound-traffic system-services dhcp
To verify that the DHCP client configuration, use the following operational commands:
user@host> show system services dhcp client
user@host> show system services dhcp client statistics
If you are having problems getting a DHCP client IP address, you can initiate a DHCP renewal with the following operational command: user@host> request system services dhcp renew
user@host> request system services dhcp renew