Header Ads

DHCP(Dynamic Host Configuration Protocol)


Download The Pkt File:
Download




DHCP Configuration:

DHCP configuration between 1 routers, 1 switches, and 3 pc


Router 0:

Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#host R0
R0(config)#interface fastEthernet 0/0
R0(config-if)#ip address 192.168.10.1 255.255.255.0
R0(config-if)#no sh

R0(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

R0(config-if)#exit
R0(config)#ip dhcp pool IP10
R0(dhcp-config)#network 192.168.10.0 255.255.255.0
R0(dhcp-config)#default 192.168.10.1
R0(dhcp-config)#exit
R0(config)#ip dhcp exc 192.168.10.1 192.168.10.10
R0(config)#exit
R0#
%SYS-5-CONFIG_I: Configured from console by console

R0#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
R0#sh run
Building configuration...



PC0:

PC1:

PC2:


Powered by Blogger.