Home >Network Simulator Labs>Configuring cisco router as a DHCP server

Available labs  |   Supported Commands  |   Product Help

CertExams.com Simulator Lab Exercises Answers

Configuring cisco router as a DHCP server

Description: This lab exercise demonstrates the required commands for DHCP Server configuration on a cisco router.


1. Issue service dhcp command on router R1 that enables and disables the DHCP server feature on router. By default, this is enabled.
2. Create an addressing pool for dhcp.
3. Issue network command that specifies the range of IP addresses to be assigned to clients. 
4. Assign the domain-name to the client.
5. In order to resolve Host names to IP addresses, client computers require the IP addresses of  DNS (Domain Name Service) servers. Use  dns-server command that allows assigning upto 8 DNS server addresses to the client, but however in simulator only 1 address is allowed.
6. Specify the default-router address using default-router command that allows assigning upto 8 default-gateway addresses to the client for this range of addresses.
7. Specify the duration of the lease, which if omitted results to default 1 day.

R1(config)#service dhcp
R1(config)#ip dhcp pool newpool
R1(config-dhcp)#domain-name xyz.com
R1(config-dhcp)#lease 2


Real Time Web Analytics