-
Notifications
You must be signed in to change notification settings - Fork 469
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 is subtracted twice: from kube-bridge and tun- interface #1033
Comments
UPD: what's interesting, if I disable auto-mtu and set 1500 for kube-bridge manually, it still creates the following tunnel interfaces:
|
Not sure why I felt MTU has to be adjusted explicitly on IP-IP tunnel interface in this PR. Tunnel intefaces MTU are automatically deducted with 20 bytes to accomidate IP-IP tunnel header. |
@murali-reddy does it mean db1bd56#diff-0c7a66931bb103d41704081acb720a2e87222dbd9732538d0bd911cb3106e9bcR136 this very change |
What happened?
As it is implemented now: with auto MTU enabled - kube-bridge is configured with
-20
of the physical interface. Thentun-
ip-ip interfaces are configured with further-20
of the kube-bridge.So we end up having kube-bridge with 1480, and tun- with 1460.
I believe
kube-bridge
's MTU should simply match the physical link MTU.What did you expect to happen?
I think kube-bridge should always (?) match the physical link MTU.
How can we reproduce the behavior you experienced?
Steps to reproduce the behavior:
**Screenshots / Architecture Diagrams / Network Topologies **
If applicable, add those here to help explain your problem.
** System Information (please complete the following information):**
kube-router --version
): v1.1.1kubectl version
) : [e.g. 1.18.3] 1.19.5** Logs, other output, metrics **
Please provide logs, other kind of output or observed metrics here.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: