
When you set a capture filter, it only captures the packets that match the capture filter. IP address: ip.addr=192.168.0.1, 8.8.8.8, etc. Capture Filter You can set a capture filter before starting to analyze a network.
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.
Run Wireshark, select the interface you connect to SMB router or switch. Input the IP address to the address bar in the web browser and you will visit the GUI of the SMB switch.Īfter logging into the page, go to MAINTENANCE-Mirroring, click Edit, select the port connecting to your PC in Destination Port Config and enable Ingress and Egress option in the port you want to capture packets in Source Interface Config, click Apply. Input the IP address to the address bar in the web browser and you will visit the GUI of the SMB router.Īfter logging into the page, go to Network-Switch-Mirror, enable Port Mirror, select the port connecting to your PC in the Mirroring Port and the port you want to capture packets in the Mirrored Port, click Save. Set Port Mirror for PC and the port you want to capture packets. Connect PC to the SMB router or switch directly. Download and install Wireshark on your PC. 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.