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

[Bug] - default MTU large than nat gateway limit #863

Open
BeckYeh opened this issue Dec 18, 2024 · 2 comments
Open

[Bug] - default MTU large than nat gateway limit #863

BeckYeh opened this issue Dec 18, 2024 · 2 comments

Comments

@BeckYeh
Copy link

BeckYeh commented Dec 18, 2024

Describe the bug
the default mtu 9001 is biger than nat gateway limit 8500, if I want to know how to change, there is no document. and how do I change it on EKS manage node ? all the pods eni are 9001 mtu

image

@elsaco
Copy link

elsaco commented Dec 18, 2024

@BeckYeh the ip command is available so you can temporarily change the MTU like sudo ip link set dev ens5 mtu 8500 for the 2nd network interface (ens5)

There is also /usr/lib/systemd/network/80-ec2.network file part of amazon-ec2-net-utils that configures your ENA network interfaces:

[ec2-user ~]$ cat /usr/lib/systemd/network/80-ec2.network
[Match]
Driver=ena ixgbevf vif

[Link]
MTUBytes=9001

--cut---

Change the MTUBytes according to your needs.

@BeckYeh
Copy link
Author

BeckYeh commented Dec 19, 2024

On EKS manage node how to deal with it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants