JosefJezek
2/7/2014 - 9:28 AM

DHCP

DHCP

DHCP

Testing

sudo apt-get install dhcping dhcpdump

sudo dhcping -c 192.168.1.100 -s 192.168.16.1
sudo dhcping -h 00:12:3f:20:11:49 -s 10.1.200.200 -c 10.1.200.1

# Match any dhcp packet
dhcpdump -i eth0

# Only match packets to/from hw address 00:12:3f:20:11:49
dhcpdump -i eth0 -h 00:12:3f:20:11:49

# Only match packets to/from hw addresses beginning 00:14
dhcpdump -i eth0 -h ^00:14