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

Need help Trace 2 nic together

0

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


One Answer:

3

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

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