I understand how to set up DHCP services on a router, but I have a need to have IP's handed out only if a reservation is in place. I would prefer to not have to take the approach of adjusting the pool size every time a new reservation is made. Perhaps if the Cisco router cannot perform this task there is a way to do so with another DHCP server platform?
If you exclude all pool range then new devices will not acquire IP address automatically. For reserverd address you can use IP address in the excluded range. for example if pool range is 192.168.1.0/24 then you can exclude all range by:
ip dhcp-excluded address 192.168.1.0 192.168.1.255
Actually, if you want to use the Cisco IOS DHCP server, you don't even need to configure a dynamic scope nor exclude a range. Instead, you'll have to create a host pool for every manual binding, which can be unhandy depending on the number of bindings required.
ip dhcp pool MYCLIENT-10
host 192.168.0.10 255.255.255.0
dns-server 192.168.0.2 192.168.0.3
ip dhcp pool MYCLIENT-11
On the other hand, an additional pool with the dynamic scope completely excluded can save some repeating lines (the common options) in the host pools:
ip dhcp excluded-address 192.168.0.1 192.168.0.254
configuring host pools requires a parent dynamic pool as each host pool is considered a child pool which will inherit by default of the DHCP options of the parent pool unless specifically overidden in the child pool.
There is the origin file option for configuring static mappings too but I'm not sure if this one necessitates a dynamic parent pool though but I guess it does too( I haven't implemented this feature yet).
Just to say thanks for the tip on Windows and Linux clients. I have been headscratching over why my Centos webserver took its hardware-address OK but my Windows PC and other stuff like VOIP Box and PoE Switch simply ignored the reservations, using client-identifier works with Windows just fine.
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...