|
Question : Cisco DHCP Scope
|
|
When setting up a DHCP scope on a Cisco router (2610 running 12.x) can you specify a range of addresses for lease? For example my network is 192.168.1.0/24 but that doesn't mean I want the first available lease address to be 192.168.1.1. Can I specify .150 through .250 or something like that? My simple config is below. Any help would be appreciated.
ip dhcp pool 441 network 192.168.1.0 255.255.255.0 dns-server 192.168.5.5 default-router 192.168.1.100 netbios-node-type h-node
|
Answer : Cisco DHCP Scope
|
|
Hey BuildingITC
This document says you can't, unless you specifically exclude addresses or a range of addresses. See paste:
Excluding IP Addresses The DHCP server assumes that all IP addresses in a DHCP address pool subnet are available for assigning to DHCP clients. You must specify the IP address that the DHCP server should not assign to clients. To do so, use the following command in global configuration mode:
Command Purpose Router(config)# ip dhcp excluded-address low-address [high-address] Specifies the IP addresses that the DHCP server should not assign to DHCP clients. More info: http://www.cisco.com/en/US/products/sw/iosswrel/ps1830/products_feature_guide09186a008008743b.html#35657
Hope this helps.
|
|
|