Page 1 of 1

IOS DHCP set up

PostPosted: Tue Nov 09, 2010 4:52 pm
by stephen
config terminal

Router(config)# ip domain name smallbiz.com
Router(config)# ip name-server 192.168.11.12
Router(config)# ip dhcp excluded-address 192.168.9.0

Router(config)# ip dhcp pool dpool1
Router(dhcp-config)# network 10.10.0.0 255.255.255.0
Router(dhcp-config)# import all
Router(dhcp-config)# default-router 10.10.10.10
Router(dhcp-config)# dns-server 192.168.35.2
Router(dhcp-config)# domain-name cisco.com
exit

Use the following commands to view your DHCP configuration.
•show ip dhcp import —Displays the optional parameters imported into the DHCP server database.
•show ip dhcp pool —Displays information about the DHCP address pools.
•show ip dhcp server statistics —Displays the DHCP server statistics, such as the number of address pools, bindings, and so forth.