I want to add an Ethernet header to L3 packets, and observe weird behavior from Encap modules (both GenericEncap and EtherEncap). It will occasionally add the Ethernet header twice. This doesn't seem to be triggered by the packet contents, it's random and happens at 10-20% of packets.
The code below will recreate the results. I also attach the L3 and L2 packet captures. I've tried with different input sources, like Source/Rewrite, as well as playing packets out from a L3 pcap file, and the same issue comes up again.
Hi,
I want to add an Ethernet header to L3 packets, and observe weird behavior from Encap modules (both GenericEncap and EtherEncap). It will occasionally add the Ethernet header twice. This doesn't seem to be triggered by the packet contents, it's random and happens at 10-20% of packets.
The code below will recreate the results. I also attach the L3 and L2 packet captures. I've tried with different input sources, like Source/Rewrite, as well as playing packets out from a L3 pcap file, and the same issue comes up again.
Is this a known issue?