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

wireshark and ns2

0

Hi I am julie...I wanted to do know if the packets captured using wireshark can be accessed and analysed using the network simulator NS2?

asked 19 Feb '11, 00:35

julie's gravatar image

julie
1111
accept rate: 0%


One Answer:

1

A quick search suggests that the answer is yes.

See: http://www.isi.edu/nsnam/ns/ns-emulation.html

"Pcap/File Network Objects These objects are similar to the Pcap/BPF objects, except that network data is taken from a trace file rather than the live network. As such, the notion of promiscuous mode and the naming of a particular interface (available to the BPF objects) are not available for the file objects. In addition, the ability to create trace files is still under development. This facility will provide the ability to create tcpdump-compatible trace files. "

Wireshark writes capture files in pcap format (as the default).

I suggest you'll get much more and better info if you inquire on a ns2 mailing list.

answered 21 Feb '11, 19:54

Bill%20Meier's gravatar image

Bill Meier ♦♦
3.2k1850
accept rate: 17%