DHCP

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Task 2:

R1#conf t
Enter configuration commands, one per line. End with CTRL/Z.
R1(config)#int Ethernet1/0
R1(config-if)#no shutdown
R1(config-if)#ip add 192.168.20.1 255.255.255.0
R1(config-if)#end

Task 3:
R1#config t
R1(config)#ip dhcp pool Pool-1
R1(dhcp-config)#network 192.168.20.0 255.255.255.0
R1(dhcp-config)#dns-server 4.2.2.2
R1(dhcp-config)#default-router 192.168.20.1
R1(dhcp-config)#exit
R1(config)#ip dhcp excluded-address 192.168.20.1

Task 4:
R2#config t
Enter configuration commands, one per line. End with CTRL/Z.
R2(config)#int Ethernet1/0
R2(config-if)#ip address dhcp

R2(config-if)#exit

R2 (config)#ip domain-lookup

R2 (config)#ip name-server 8.8.8.8

You might also like