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

Hi Guys,

I'm new in wireshark. Lets say I want to trace packet from two nic together? What is the right command..

If I want to trace from 1 nic below is the command..but if i want to trace from 2 nic?

dumpcap -i NIC

Thank you in advance

asked 09 Nov '15, 23:55

wunan's gravatar image

wunan
5115
accept rate: 0%

edited 09 Nov '15, 23:56


from https://www.wireshark.org/docs/man-pages/dumpcap.html:

-i < capture interface >|rpcap://< host >/< capture interface >|[email protected]< host >:< port >|-

...

This option can occur multiple times. When capturing from multiple interfaces, the capture file will be saved in pcap-ng format.

so simply

dumpcap -i nic1 -i nic2

permanent link

answered 10 Nov '15, 00:19

sindy's gravatar image

sindy
6.0k4851
accept rate: 24%

Thank you very much =D

(10 Nov '15, 00:33) wunan
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:

×89

question asked: 09 Nov '15, 23:55

question was seen: 748 times

last updated: 10 Nov '15, 00:33

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