First of all, the DHCP function of the router, the router is configured as the server side of DHCP to the router under the connection of the client IP address allocation.
I don't have to talk about this feature any more, the routers at home have this feature. Let's talk about how DHCP is configured for Cisco routers.
Enable access to privileged mode
Config into global configuration mode
IP DHCP pool name gives DHCP a name
network segment managed by network 192.168.1.0 255.255.255.0
Default-router 102.168.1.1 Gateway address
Dns-server DNS DNS addresses
Lesae Address reallocation Time
Other Related commands:
IP DHCP excluded-address network segment excludes this network segment from DHCP
Clear IP DHCP binding clears all dynamic bindings
The general enterprise has its own DHCP server and does not require a route to act as a. Therefore, we only need in the case of Routing and DHCP server Unicom, in the global configuration mode type: IP helper-add+dhcp server IP address;
Configure the Router to
Dhcp
The server side of the router to enter the workstation row for the client connected under the
Ip
The assignment of the address.
This article from the "It Layman teahouse" blog, reproduced please contact the author!
"Ti layman" network knowledge note Eight by DHCP configuration and DHCP relay