HCL experiment eight

 

pc1: configure a static ip address, mask, gateway

Router R1: the ip address 192.168.1.254 24; the dhcp

Corinthians 0/0

ip add 192.168.1.254 24

qu

dhcp enable

dhcp server ip-pool 1

network 192.168.1.0 mask 255.255.255.0

gateway-list 192.168.254

int gi0/0

dhcp select server

Test whether PC1 can ping IP192.168.1.254

Get PC2 address .... wait ....

Succeed PC2 IP: 192.168.1.3/24

Test whether PC2 can ping IP192.168.1.254

testing successfully

Guess you like

Origin www.cnblogs.com/zy5201311/p/10930066.html