In this article we will discuss Configuring a Router as DHCPv4 Client, will make brief discussion on Configuring a Router as DHCPv4 Client, In last article we discuss about DHCPv4 Relay.
Sometimes, Cisco routers in small office/home office (SOHO) and branch sites have to be configured as DHCPv4 clients in a similar manner to client computers. The method used depends on the ISP.
However, in its simplest configuration, the Ethernet interface is used to connect to a cable or DSL modem. To configure an Ethernet interface as a DHCP client, use the ip address dhcp interface configuration mode command.
Assume that an ISP has been configured to provide select customers with IP addresses from the 126.96.36.199/27 network range. After the G0/1 interface is configured with the ip address dhcp command, the show ip interface g0/1 command confirms that the interface is up and that the address was allocated by a DHCPv4 server.