IOS DHCP set up

IOS DHCP set up

Postby stephen » Tue Nov 09, 2010 4:52 pm

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.
stephen
 
Posts: 507
Joined: Thu Feb 09, 2006 9:37 am
Location: Brisbane

Return to Cisco

Who is online

Users browsing this forum: No registered users and 2 guests

cron