Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MTU size of VXLAN interface should not be greater than 1450 #67

Closed
yoheiueda opened this issue Jun 30, 2022 · 0 comments · Fixed by #68
Closed

MTU size of VXLAN interface should not be greater than 1450 #67

yoheiueda opened this issue Jun 30, 2022 · 0 comments · Fixed by #68
Labels
bug Something isn't working

Comments

@yoheiueda
Copy link
Member

MTU of a VXLAN interface in a pod VM becomes greater than 1450, which is the maximum allowed size for VxLAN packets, when a CNI plugin such as Calico IPIP uses a MTU greater than 1450. This may cause undesirable packet fragmentation.

mtu := int(config.MTU)
if err := podNS.SetMTU(podVxlanInterface, mtu); err != nil {

@yoheiueda yoheiueda added the bug Something isn't working label Jun 30, 2022
yoheiueda added a commit to yoheiueda/cloud-api-adaptor that referenced this issue Jun 30, 2022
MTU of a VXLAN interface in a pod VM becomes greater than 1450,
which is the maximum allowed size for VxLAN packets, when a CNI
plugin such as Calico IPIP uses a MTU greater than 1450. This may
cause undesirable packet fragmentation. This patch fixes the issue.

Fixes confidential-containers#67

Signed-off-by: Yohei Ueda <yohei@jp.ibm.com>
bpradipt pushed a commit that referenced this issue Jul 1, 2022
MTU of a VXLAN interface in a pod VM becomes greater than 1450,
which is the maximum allowed size for VxLAN packets, when a CNI
plugin such as Calico IPIP uses a MTU greater than 1450. This may
cause undesirable packet fragmentation. This patch fixes the issue.

Fixes #67

Signed-off-by: Yohei Ueda <yohei@jp.ibm.com>
bpradipt pushed a commit to bpradipt/cloud-api-adaptor that referenced this issue Aug 12, 2023
MTU of a VXLAN interface in a pod VM becomes greater than 1450,
which is the maximum allowed size for VxLAN packets, when a CNI
plugin such as Calico IPIP uses a MTU greater than 1450. This may
cause undesirable packet fragmentation. This patch fixes the issue.

Fixes confidential-containers#67

Signed-off-by: Yohei Ueda <yohei@jp.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant