DHCP Servers on Cisco Routers
The first step is enabling the DHCP service on the router. This is done using the service dhcp command, as exemplified below:
Enter configuration commands, one per line. End with CNTL/Z.
The next step is to create a DHCP pool which defines the IP address pool that will be allocated to clients. In this example, pool name “SUBNET_A” will offer IP addresses from the 192.168.1.0/24 range:
Router(config)#ip dhcp pool SUBNET_A
Router(dhcp-config)#network 192.168.1.0 255.255.255 . . .
The content below this message is for members only.