{"id":193,"date":"2011-05-05T13:32:07","date_gmt":"2011-05-05T12:32:07","guid":{"rendered":"https:\/\/davidmichaelbrown.com\/?p=193"},"modified":"2011-05-05T13:32:07","modified_gmt":"2011-05-05T12:32:07","slug":"cisco-router-static-dhcp-bindings","status":"publish","type":"post","link":"https:\/\/davidmichaelbrown.com\/?p=193","title":{"rendered":"Cisco Router Static DHCP Bindings"},"content":{"rendered":"\n<!-- Facebook Like Button v1.9.6 BEGIN [http:\/\/blog.bottomlessinc.com] -->\n<iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https%3A%2F%2Fdavidmichaelbrown.com%2F%3Fp%3D193&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" style=\"border:none; overflow:hidden; width:450px; height: 30px; align: left; margin: 2px 0px 2px 0px\"><\/iframe>\n<!-- Facebook Like Button END -->\n<p>When using a Cisco router to serve DHCP Requests, it\u2019s not immediately obvious how-to create reservations for a DHCP Pool. If the device has already picked up an IP Address via DHCP you will need to first remove the DHCP Binding by running the follow command:<\/p>\n<p><code>clear ip dhcp binding 192.168.0.x (IP Address of the device)<\/code><\/p>\n<p>This is the configuration which I have used on a Cisco 1841 Router:<\/p>\n<p><code>ip dhcp pool name-pool<br \/>\nimport all<br \/>\nnetwork 192.168.0.0 255.255.255.0<br \/>\ndefault-router 192.168.0.254<br \/>\ndns-server 192.168.0.1 192.168.0.2<br \/>\nlease 0 2<br \/>\n!<br \/>\nip dhcp pool name-pool-static<br \/>\nhost 192.168.0.253 255.255.255.0<br \/>\nclient-identifier 0100.xxxx.xxxx.xx (MAC Address of the device)<\/code><\/p>\n<p>To verify this, use the follow command from exec mode:<\/p>\n<p><code>Router# show ip dhcp binding<br \/>\nBindings from all pools not associated with VRF:<br \/>\nIP address Client-ID\/ Hardware address\/ User name\u00a0\u00a0 Lease expiration\u00a0\u00a0\u00a0\u00a0Type<br \/>\n192.168.113.249 0100.xxxx.xxxx.xx\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Infinite\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Manual<\/code><\/p>\n\n<!-- Facebook Like Button v1.9.6 BEGIN [http:\/\/blog.bottomlessinc.com] -->\n<iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https%3A%2F%2Fdavidmichaelbrown.com%2F%3Fp%3D193&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" style=\"border:none; overflow:hidden; width:450px; height: 30px; align: left; margin: 2px 0px 2px 0px\"><\/iframe>\n<!-- Facebook Like Button END -->\n","protected":false},"excerpt":{"rendered":"<p>When using a Cisco router to serve DHCP Requests, it\u2019s not immediately obvious how-to create reservations for a DHCP Pool. If the device has already picked up an IP Address via DHCP you will need to first remove the DHCP Binding by running the follow command: clear ip dhcp binding 192.168.0.x (IP Address of the &#8230; <span class=\"more\"><a class=\"more-link\" href=\"https:\/\/davidmichaelbrown.com\/?p=193\">[Read more&#8230;]<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[27,26],"tags":[30,31,94,28,29],"class_list":["entry","post","publish","author-david-brown","post-193","format-standard","category-cisco","category-geeky-stuff","post_tag-30","post_tag-binding","post_tag-cisco","post_tag-dhcp","post_tag-router"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=\/wp\/v2\/posts\/193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=193"}],"version-history":[{"count":4,"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=\/wp\/v2\/posts\/193\/revisions"}],"predecessor-version":[{"id":197,"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=\/wp\/v2\/posts\/193\/revisions\/197"}],"wp:attachment":[{"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davidmichaelbrown.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}