DHCP 

(Dynamic Host Configuration Protocol) Server Settings are commonly found on broadband router firmware. The DHCP section is where you can configure the router's built-in DHCP Server to assign IP addresses to the computers and other devices on your local area network (LAN). Other DHCP options include Enable DHCP Server and Add or Edit DHCP Reservation.


Configuration DHCP on Router ..



Here we have topology for configuration

Task 1 :- Configure IP address on Router  192.168.1.0/24

Task 2 :- Configure DHCP 

Task 3 :- Access IP address automatically (DHCP) on PC

Task 4 :- check the connectivity between PC to Router


Let's Start..

Task 1 :- Configure IP address on Router  192.168.1.0/24


Router>
Router>en
Router#configure ter
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int
Router(config)#interface fa
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip add
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shu
Router(config-if)#no shutdown

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#exit


Task 2 :- Configure DHCP 


R1(config)#ip dhcp pool CCNA     !! pool create to  specif Network !! 
R1(dhcp-config)#network 192.168.1.0 255.255.255.0    !! what Network have to Assign on pc !!
R1(dhcp-config)#def
R1(dhcp-config)#default-router 192.168.1.1   !! all PC can receive Default-gateway via DHCP !!
R1(dhcp-config)#dn
R1(dhcp-config)#dns-server 1.1.1.1   !! IF WE connect Any Server !!
R1(dhcp-config)#exit
R1(config)#
R1(config)#


Task 3 :- Access IP address automatically (DHCP) on PC

goto PC and click on DHCP then wait ....






then goto second  PC 

  




Then same AS all PC....


Task 4 :- check the connectivity between PC to Router

R1#ping 192.168.1.3


Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms
R1#

R1#ping 192.168.1.4


Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/2 ms

R1#