I am trying to debug TCP communication between two embedded devices, only one of which is under my control. I want to see what is going on in Wireshark, but I see nothing. Is it even possible to see traffic between remote hosts (but on the same switch) in Wireshark?
Share
Not when between you and these hosts there is a SWITCH (as opposed to a HUB). A switch will only forward packets to the port on which the destination host is attached, whereas a hub propagates all packets it sees to all ports.
What you want can be achieved by (temporarily) installing a hub on which your computer and the two systems that need to be sniffed are connected.
EDIT: as MattH said in a comment, on many higher end switches there’s a mirroring feature that allows you to use 1 port of the switch to sniff on another port. You could ask your network guy if your switch has such a feature, and get access to that feature for debugging purposes.