DHCP


Captured DORA Seq U22.04: Config DHCP Install on U22.04 Cfg U22.04
Options Options Look-Up isc Man DHCP Ubuntu Man DHCP
Leases Lib dhcpctl Function Static IPs Protocols
Leases (more) Client Server Interaction Dynamic Updt Dynamic Updt Config
Static Dynamic 1 Static Dynamic 2 Stat Dyn Ip Deploy nmcli
dhclient Kea 1 Dhcp.conf

Check config errors: 
	dhcpd -cf /etc/dhcp/dhcpd.conf


To make a host request a new DHCP lease, execute:
	dhclient -r
	dhclient

DORA Interaction
Capturing DHCP/BOOTP traffic
A captured (tcpdump) DORA Interaction: Jun 16 07:37:16 www dhcpd[544523]: DHCPDISCOVER from ec:71:db:07:ca:1b via eth0 Jun 16 07:37:17 www dhcpd[544523]: DHCPOFFER on 192.168.0.143 to ec:71:db:07:ca:1b via eth0 Jun 16 07:37:20 www dhcpd[544523]: DHCPREQUEST for 192.168.0.143 (192.168.0.4) from ec:71:db:07:ca:1b via eth0 Jun 16 07:37:20 www dhcpd[544523]: DHCPACK on 192.168.0.143 to ec:71:db:07:ca:1b via eth0 tcpdump -i eth0 -nnn "udp port 67 or udp port 68" tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes 11:23:54.378332 IP 192.168.0.100.68 > 192.168.0.5.67: BOOTP/DHCP, Request from b8:2c:a0:0c:d6:1e, length 548 11:23:54.382661 IP 192.168.0.5.67 > 192.168.0.100.68: BOOTP/DHCP, Reply, length 300 11:26:42.969497 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 8c:49:62:02:c6:97, length 548