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

Wireshark with NS2

0

Can I analyse ns2 tracefile in wireshark? As it takes PCAP file as input, so I need to know if I can generate PCAP files using ns2 or any other method which will make me analyse my NS2 simulation on wireshark.

asked 11 Jan '16, 01:49

Chetan's gravatar image

Chetan
6112
accept rate: 0%


One Answer:

0

Can I analyse ns2 tracefile in wireshark?

No.

AFAIK, ns2 can't create pcap files and the ns2 trace files are not well suited to be parsed by Wireshark (wrong and/or not enough information in the trace files).

However, there are ns-2 trace file analyzers available:

http://sourceforge.net/projects/jtrcezer
http://sourceforge.net/projects/trace-analyzer

BTW: ns-3 can write ´pcap files, but ns-3 is not compatible with ns-2.

Regards
Kurt

answered 11 Jan '16, 07:14

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%