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
network DHCP_NETWORK_SCOPE NETWORK_MASK
default-router DEFAULT_ROUTE
domain-name DOMAIN_NAMEdns-server DNS_SERVER_1 DNS_SERVER_2
No comments:
Post a Comment