

In this example, the conditions are linked with 'and'. Wireshark's filter syntax provides for parentheses, logical operators such as 'and' 'or', and comparison operators such as = or !=.įor example, if you want to show 'any TCP traffic from IP address 10.17.2.5 to port 80', the translation to Wireshark's filter syntax is ip.src = 10.17.2.5 and tcp.dstport = 80. IP address: ip.addr=192.168.0.1, 8.8.8.8, etc.In addition to using simple filters, conditions can also be linked. Since the router/switch is forwarding packets constantly, we may need to apply some display filter to filter out the packets we are interested in.

Note: Connect PC to SMB router or switch directly.

It’s a free and powerful sniffing and analyzing software. This document will introduce how to capture packets using Wireshark in SMB router or switch. Packets capture and analysis are very important for us to troubleshoot when some problems occur such as the router can’t obtain IP from ISP, the client can’t receive multicast packets, etc.
