Skip to content

Several tests fail on testbed connected to specific Ixia Card due to invalid checksum #330

@AndriyLozovyyPLV

Description

@AndriyLozovyyPLV

5 IGMP test cases fails on testbed that are connected to Ixia Card - 10/100/1000 LSM XMVDC16. :

  • Failed functional/igmp/test_igmp_snooping.py::test_igmp_snooping_mixed_ver[2-2]
  • Failed functional/igmp/test_igmp_snooping.py::test_igmp_snooping_mixed_ver[3-3]
  • Failed functional/igmp/test_igmp_snooping.py::test_igmp_snooping_mixed_ver[2-1]
  • Failed functional/igmp/test_igmp_snooping.py::test_igmp_snooping_mixed_ver[3-1]
  • Failed functional/igmp/test_igmp_snooping.py::test_igmp_snooping_mixed_ver[3-2]

It looks like Ixia Card generates incorrect checksum for IGMP Header, when same test passes on Ixia card - NOVUS10/5/2.5/1/100M16DP and checksum is correct.

Sniffed packet on AC3X device (Infra2, connected to Ixia10/100/1000 LSM XMVDC16):

13:42:26.414804 a6:00:00:00:00:02 > 01:00:5e:01:01:01, ethertype IPv4 (0x0800), length 512: (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto IGMP (2), length 28)
 100.0.0.3 > 227.1.1.1: igmp v2 report 227.1.1.1 bad igmp cksum 9314!
 0x0000: 0100 5e01 0101 a600 0000 0002 0800 4500
 0x0010: 001c 0000 0000 4002 32db 6400 0003 e301
 0x0020: 0101 1664 9314 e301 0101 ecc0 d680 6f76  <------ IGMP checksum = 9314 when expected to be 0599
 0x0030: 8300 4978 6961 0000 0000 1011 1213 0126
 0x0040: 715e 01b6 1a1b 1c1d 1e1f 2021 2223 2425
 0x0050: 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435
 0x0060: 3637 3839 3a3b 3c3d 3e3f 4041 4243 4445
 0x0070: 4647 4849 4a4b 4c4d 4e4f 5051 5253 5455
 0x0080: 5657 5859 5a5b 5c5d 5e5f 6061 6263 6465
 0x0090: 6667 6869 6a6b 6c6d 6e6f 7071 7273 7475
 0x00a0: 7677 7879 7a7b 7c7d 7e7f 8081 8283 8485
 0x00b0: 8687 8889 8a8b 8c8d 8e8f 9091 9293 9495
 0x00c0: 9697 9899 9a9b 9c9d 9e9f a0a1 a2a3 a4a5
 0x00d0: a6a7 a8a9 aaab acad aeaf b0b1 b2b3 b4b5
 0x00e0: b6b7 b8b9 babb bcbd bebf c0c1 c2c3 c4c5
 0x00f0: c6c7 c8c9 cacb cccd cecf d0d1 d2d3 d4d5
 0x0100: d6d7 d8d9 dadb dcdd dedf e0e1 e2e3 e4e5
 0x0110: e6e7 e8e9 eaeb eced eeef f0f1 f2f3 f4f5
 0x0120: f6f7 f8f9 fafb fcfd feff 0001 0203 0405
 0x0130: 0607 0809 0a0b 0c0d 0e0f 1011 1213 1415
 0x0140: 1617 1819 1a1b 1c1d 1e1f 2021 2223 2425
 0x0150: 2627 2829 2a2b 2c2d 2e2f 3031 3233 3435
 0x0160: 3637 3839 3a3b 3c3d 3e3f 4041 4243 4445
 0x0170: 4647 4849 4a4b 4c4d 4e4f 5051 5253 5455
 0x0180: 5657 5859 5a5b 5c5d 5e5f 6061 6263 6465
 0x0190: 6667 6869 6a6b 6c6d 6e6f 7071 7273 7475
 0x01a0: 7677 7879 7a7b 7c7d 7e7f 8081 8283 8485
 0x01b0: 8687 8889 8a8b 8c8d 8e8f 9091 9293 9495
 0x01c0: 9697 9899 9a9b 9c9d 9e9f a0a1 a2a3 a4a5
 0x01d0: a6a7 a8a9 aaab acad aeaf b0b1 b2b3 b4b5
 0x01e0: b6b7 b8b9 babb bcbd bebf c0c1 c2c3 c4c5
 0x01f0: c6c7 c8c9 cacb cccd cecf e7ce 5555 5555

Metadata

Metadata

Assignees

Labels

IxiaIxia issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions