CCNA: Cisco Certified Network Associate — Question 110

You are configuring your edge routers interface with a public IP address for Internet connectivity. The router needs to obtain the IP address from the service provider dynamically.
Which command is needed on interface FastEthernet 0/0 to accomplish this?

Answer options

Correct answer: D

Explanation

The correct command is 'ip address dhcp', which allows the router to obtain its IP address dynamically from a DHCP server provided by the service provider. The other options do not facilitate dynamic IP address assignment; 'ip default-gateway' sets a default route, 'ip route' is for static routing, 'ip default-network' is used for specifying a default network, and 'ip address dynamic' is not a valid command.