![Yahoo mail app mac desktop](https://cdn1.cdnme.se/5447227/9-3/20_64e61dfc9606ee7f8b257166.png)
The best way to capture ping packets (otherwise known as Internet Control Message Protocol (ICMP) Echo traffic) in Wireshark is by using a display filter in capture mode. You’ll have to enter “udp.port = 68” in the display filter bar. However, remember that display filters use a different syntax than capture filters. Similarly, a display filter can filter out DHCP packets in your capture screen.
![android packet capture tool android packet capture tool](https://community.cisco.com/legacyfs/online/media/netdrform3.png)
Use the capture filter “port 67” or “port 68” or the combination of the two “port 67 or port 68” to capture DHCP packets.
![android packet capture tool android packet capture tool](https://cdn.ilovefreesoftware.com/wp-content/uploads/2016/12/packet-capture-android-packet-sniffing-app-for-non-rooted-device-install-certificate-450x394.png)
To capture DHCP packets exclusively, you’ll need to enter the corresponding port number in the capture filter. The filter bar will be at the bottom of the Capture Interface. Tip: Another way to adjust your capture filters is clicking “Capture,” then “Options” in the menu. You can also add a specific port after “udp” if you wish to specify your filter further.
![Yahoo mail app mac desktop](https://cdn1.cdnme.se/5447227/9-3/20_64e61dfc9606ee7f8b257166.png)