Ask Your Question

Revision history [back]

ICMPv6 checksum error for EUI-64 addresses

image description

I have one question on latest Wireshark version regarding icmp6 checksum.

In my setup Wireshark is giving error in icmp6 checksum as attached.

0000 60 00 00 00 00 18 3a 40 fe 80 00 00 00 00 00 00 0010 00 00 00 00 00 00 00 00 fe 80 00 00 00 00 00 00 0020 00 00 00 00 00 00 00 00

Setup details:

Node is using EUI-64 and it is sending one 6LowPAN compressed packet using source link local ipv6 address.

Issue I am seeing here that u/l bit is set in IID and wireshark is calculating icmp6 checksum on ipv6 pseudo header (+ icmp data) , but removing IID from the source link local ipv6 address.

source link local address - FE80::IID = FE80::xx:xx:xx:xx:xx:xx:xx:xx But wireshark is considering source addres - FE80:: in its checksum calculation.(not considering IID)

My point is that:

-ICMP checksum uses the ipv6 pseudo header (+ icmp data) which should consist the original source and destination ipv6 addresses (i.e if link local ipv6 address with u/l bit set , checksum calculation will not remove IIDs from its calculation )