DHCP (Cisco)

DHCP Jan 1, 2013

service dhcp     #enable DHCP on device

ip dhcp pool     #create DHCP pool with name network 10.1.1.0 /24 default-router 10.1.1.1 netbios-name-server 10.1.1.2 netbios-node-type h-node dns-server lease

ip dhcp pool host 10.1.1.100 /24 hardware-address 0005.5e1f.8222 #create static binding

(config)# ip dhcp excluded-address 10.1.1.252 10.1.1.254 (config)# ip dhcp excluded-address 10.1.1.200 10.1.1.202 (config)# ip dhcp conflict logging #logging of DHCP address conflicts (config)# ip dhcp ping packet 5 #ping IP address 5 times before allocating (config)# ip dhcp ping timeout 300 #ping timeout is 300ms for the ping test pre allocation

show ip dhcp binding show ip dhcp conflit show ip dhcp database debug ip dhcp server [events|packet]

Tags

Rob Edwards

Northern (UK) chap focusing on platforms, automation, cloud and cloud native applications. Recovering network engineer, although it turns out networking is as important, if not more, now than before!

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.