This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Switched Network

0

Is it possible to use wireshark over a switched network! I'm trying to capture data packets being sent to and from a computer other than mine! I tried setting the capture filter like so 'host 10.x.x.x' (where x is a number) but after using the internet on said machine no packets are captured???

asked 11 May '12, 10:09

scorpio's gravatar image

scorpio
1111
accept rate: 0%


One Answer:

0

On a switch you will only see packets to and from your machine (and broadcasts). That's the way a switch works. To sniff in a switched environment, you need to configure a "mirror/span/monitor" port on the switch. However, this is only possible with managed switches.

Another option would be the use of a simple TAP, like Dualcomm DCGS-2005 or any other cheap switch with port mirroring capabilities (e.g. HP Procurce 1810g-8).

See also these links in the wiki

http://wiki.wireshark.org/CaptureSetup/Ethernet
http://wiki.wireshark.org/SwitchReference

Also search this site for "switched network" for numerous solutions for this "problem".

Regards
Kurt

answered 11 May '12, 10:25

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 11 May '12, 10:26