Which command configures an interface to obtain its IPv4 address via DHCP?
Choose an answer
Tap an option to check your answer.
Correct answer: ip address dhcp.
Why this is the answer
The ip address dhcp command is used within interface configuration mode to instruct the interface to dynamically obtain an IPv4 address, subnet mask, and default gateway from a DHCP server. This is a common configuration for end devices or router interfaces connecting to a network segment where DHCP is available. ip dhcp client is not a valid command for configuring an interface to obtain an IP address. ip helper-address is used on a router to forward DHCP broadcast requests to a DHCP server located on a different subnet, not to configure the interface itself. ip dhcp pool is used to configure a DHCP server on the router, defining the range of IP addresses and other options to be distributed to clients.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed