IP feelings and experiences 19

DHCP technique is to provide a corresponding service via a certain network configuration a network server implemented, can provide temporary IP address of the network terminating device, default gateway, DNS servers and other network configuration.

Disadvantage: random IP address: user's IP address are assigned randomly, uncertain. Access to change: If the user's access rights are based on the IP address of the division, the access rights with different IP address changes.

 

 

Configuring left ip address 192.168.1.1 mask 255.255.255.0 host 192.168.1.254 Gateway

Re-configure the router

sys

int g0/0

ip add 192.168.1.254 24

dhcp server ip-pool 1

nextwork 192.168.1.0 mask 255.255.255.0

gateway-list 192.168.1.254

quit

int g0/0

dhcp select server

 Finally obtain ip address automatically in the right host
And ping 192.168.1.254

Guess you like

Origin www.cnblogs.com/zx99/p/11913454.html