Professional Documents
Culture Documents
Lecture 8
DHCP
TASK:
Configure R-1 and PC in the LAN with IP address as per the diagram given
Syntax:
Rx(config)# ip dhcp pool <Pool_Name>
DHCP(config# )# ip dhcp pool CCNA
DHCP(dhcp-config)# )# nework 192.168.1.0 255.255.255.0
DHCP(dhcp-config)# )# default-router 192.168.1.100
DHCP(dhcp-config)# )# default-router 192.168.1.100
DHCP(dhcp-config)# )# dns-server 192.168.1.50
DHCP(dhcp-config)# )# dns-server 192.168.1.51
Excluded addresses
DHCP(config)# )# ip dhcp excluded-address 192.168.1.100
DHCP(config)# )# ip dhcp excluded-address 192.168.1.50
DHCP(config)# )# ip dhcp excluded-address 192.168.1.51
IP Helper Address
R-3(config)# interface f0/0
R-3(config-if)# ip helper-address 10.0.0.1
R-3(config-if)# exit
Syntax:
Rx(config)# ipv6 dhcp pool <Pool_Name>
R-1(config)# ipv6 dhcp pool CCNA
R-1(dhcp-config)# address prefix 2001:123:123:123::/64
R-1(dhcp-config)# dns-server 2001:1234::1234
R-1(dhcp-config)# domain-name Hormuud.com