03 September 2009

Setup DHCP Server

Quick example for setting up DHCP on a IOS router. Note: need to make sure the router have an L3 interface in the matching DHCP scope/subnet. Otherwise you'll need to use "ip name-helper " to direct DHCP requests to this router.

ip dhcp excluded-address START_IP END_IP
ip dhcp pool DHCP_POOL_NAME
default-router DEFAULT_ROUTE
domain-name DOMAIN_NAME
dns-server DNS_SERVER_1 DNS_SERVER_2

No comments:

Post a Comment