Description: This lab exercise demonstrates the required commands for DHCP Server configuration on a cisco router.
Instructions
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)#network 192.168.2.0 255.255.255.0
R1(config-dhcp)#domain-name xyz.com
R1(config-dhcp)#dns-server 192.168.2.2
R1(config-dhcp)#default-router 192.168.2.1
R1(config-dhcp)#lease 2
R1(config-dhcp)#exit
R1(config)#
Cert-Ex™ Exam Simulators, Cert-Ex™ Network Simulator, Cert-Ex™ Cheatsheets are written independently by CertExams.com and not affiliated or authorized by respective certification providers. Cert-Ex™ is a trade mark of CertExams.com or entity representing Certexams.com.Network+™ is a trademark of CompTIA® organization.