NS3 Tutoria:Checksum error in IP packet.

171 views
Skip to first unread message

Sergio Mtnez

unread,
Oct 19, 2010, 4:38:07 AM10/19/10
to ns-3-...@googlegroups.com
Hello,

I'm following the ns3 tutorial. After add the pcap logging functionality to myfirst.cc script I analyzed the obtained files with Wireshark getting a malformed IP packet. Wiresharks shows that the IP checksum is 0x0000 when it should be 0x60cd. Is that the correct behavior? Or is there any problem? I attached my obtained pcap files.

Thanks in advance,

Sergio.
myfirst-0-0.pcap
myfirst-1-0.pcap

Mathieu Lacage

unread,
Oct 19, 2010, 6:29:27 AM10/19/10
to ns-3-...@googlegroups.com
On Tue, Oct 19, 2010 at 10:38, Sergio Mtnez <sert...@gmail.com> wrote:
> Hello,
> I'm following the ns3 tutorial. After add the pcap logging functionality to
> myfirst.cc script I analyzed the obtained files with Wireshark getting a
> malformed IP packet. Wiresharks shows that the IP checksum is 0x0000 when it
> should be 0x60cd. Is that the correct behavior? Or is there any problem? I

yes, it's the correct behavior: the IP stack does not calculate the
checksums to go faster.

You can run the script again with --ChecksumEnabled=true I think.

Mathieu
--
Mathieu Lacage <mathieu...@gmail.com>

Reply all
Reply to author
Forward
0 new messages