"IPV6 header not found" in system logs for ICMP6 Router Advertisements
Hi all,
I am facing some -I think- strange problem with IPV6 and QinQ in a Linux host, and may be someone has faced similar problem (or could provide a hint).
I have some VMs running in a host (KVM), and every time any VM sends an ICMP6 Router Advertisement, we get the following log in syslog:
Aug 10 11:18:36 Hostname kernel: [1722430.045240] IPv6 header not found
For the traffic, I use QinQ (802.1Q in both tags), the inner tag is set with OVS in the tap, and the outer is set with a veth of vlan type, in the following way:
(edit: ascii art format was not fine), the host is running Ubuntu 16.04 (kernel 4.4.0-62-generic)
VM-1 --- (tag=1)--- OVS ---- veth1.203 ----- veth1 ------ veth0 ----- BRIDGE ---- ens11f1 (pysical interface)
'Regular traffic' (non ICMP6) seems to work fine, the problem happens apparently only with the Router Advertisement.
I checked the code writing that log, and I think it's in 'kernel/
if (*offset) {
struct ipv6hdr _ip6, *ip6;
ip6 = skb_header_
if (!ip6 || (ip6->version != 6)) {
return -EBADMSG;
}
start = *offset + sizeof(struct ipv6hdr);
nexthdr = ip6->nexthdr;
}
but both the protocol and protocol version seem right in tcpdump:
11:28:38.675686 02:00:40:00:21:31 > 33:33:00:00:00:01, ethertype 802.1Q (0x8100), length 158: vlan 203, p 0, ethertype 802.1Q, vlan 49, p 0, ethertype IPv6, fe80::40ff:
`..
11:28:39.300076 02:00:40:00:23:2a > 33:33:00:00:00:01, ethertype 802.1Q (0x8100), length 158: vlan 204, p 0, ethertype 802.1Q, vlan 193, p 0, ethertype IPv6, fe80::40ff:
`..
I already disabled (just in case) all the offloading features in the ethernet card.
Questions:
* Is there any way I can verify which packets are dropped? (which packets are causing the 'header not found' log)
* Is QinQ (with both 802.1Q tags) supported in the kernel? Is there any config param I should change to enable?
* Any hint what could be the reason? QinQ with ICMP6?
Any help/hint is trully appreciated!
Regards,
Andrés
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: