01-05-2017 12:13 PM
Hello guys.
I have been reading about DHCP and its three address allocation types:
Dynamic - has lease period expiration and its the default
Automatic - lease does not expire
Static - Preconfigured to be assigned to a specific host based on MAC address
I have configured a DHCP server on a router and one client has obtained an IP address, see output of " show ip dhcp binding " below:
Router#sh ip dhcp binding
Bindings from all pools not associated with VRF:
IP address Client-ID/ Lease expiration Type
Hardware address/
User name
41.0.0.2 0063.6973.636f.2d63. Mar 02 2002 12:31 AM Automatic
3030.322e.3336.3830.
2e30.3030.302d.4661.
302f.30
My question is, the output shows a lease expiration and type as Automatic, does this mean this is an Automatic allocation type or dynamic? and if its Automatic ,why does it have an expiration time?
Regards.
01-05-2017 01:37 PM
Using your terminology, the lease defaults to dynamic.
If you want the client to get a lease that never expires then add "lease infinite" to the DHCP pool.
01-06-2017 12:01 AM
Hello Phillip.
Then why does IOS display the type as " Automatic " and not "Dynamic" as this can be confusing when looking at it from the command output.
Regards.
01-07-2017 12:22 PM
This is more a question of terminology, and deciding you prefer Cisco's or someone elses.
It is easier to just look at the lease duration.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide