1. Enable and disable the DHCP server process: Service DHCP (open DHCP service), no service DHCP (shutdown DHCP service).
2. Define an address pool: IP DHCP pool depart1 (Create an address pool named Depart1), network 192.168.100.0 255.255.255.0 (defines 192.168.100.0/24 as a range of addresses that can be leased). IP dhcp excluded-address 192.168.100.1 192.168.100.25 (indicates that these addresses are excluded from the address pool for use by other hosts from 192.168.100.1 to 192.168.100.25).
3. Define DNS servers and WINS servers: IP DHCP pool depart1 (Create a pool of addresses named Depart1), Dns-server 192.168.100.2 (defines the DNS server address as 192.168.100.2), Netbios-name-server 192.168.100.2 (defines the WINS server address as 192.168.100.2). Default-router 192.168.100.1 (defines the default gateway as 192.168.100.1).
4, configure help address: To enable access to DHCP for a host of another network segment connected through a router, you need to configure a help address. In a network segment interface mode that requires a DHCP service, IP helper-address 192.168.100.255 (that is, forwarding broadcast requests to all hosts on the 192.168.100.0/24 network segment, making different types of requests such as Dhpc,tftp,dns, TACACS, etc. can be forwarded to the appropriate server.
5, the need to note is: to provide DHCP,DNS,TFTP,TACACS services such as network segment router interface configuration to open directed broadcast forwarding, IP directed-broadcast.
More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/Network/lyjs/