Can not capture DHCP offer with wireshark

dhcpnetwork-discoverywireshark

I'd like to capture DHCP packets with wireshark. When I use the filter: "udp.port == 67 or udp.port == 68" I only see the Discover and Request broadcasts.

While I thought the DHCP offer also gets broadcasted. I'm running wireshark on another machine then the machine which requests the ip but am connected to the same network.

Best Answer

If you refer the DHCP RFC 3456,You can see that the DHCP offer message is actually unicast and not multicast.I would suggest you to monitor the ethernet interface of the client using wireshark itself or tcpdump in this case.

Otherwise a better approach would be to enable port mirroring on the interface which is connected to your client or simply connect it to hub(Old school,But it works!). enter image description here

Always refer the RFC.That is pretty much your bible!

I have also just did a trace on my laptop for your understanding as well.

Related Topic