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

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%


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

permanent link

answered 11 May '12, 10:25

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 11 May '12, 10:26

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×1,620
×5

question asked: 11 May '12, 10:09

question was seen: 10,041 times

last updated: 11 May '12, 10:26

p​o​w​e​r​e​d by O​S​Q​A