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

Loopback interface should use a larger MTU #3200

Open
stevenengler opened this issue Oct 4, 2023 · 1 comment
Open

Loopback interface should use a larger MTU #3200

stevenengler opened this issue Oct 4, 2023 · 1 comment
Labels
Type: Enhancement New functionality or improved design

Comments

@stevenengler
Copy link
Contributor

stevenengler commented Oct 4, 2023

On Linux, the loopback interface typically uses a large MTU (65,536). In Shadow it uses the same MTU as the eth0 interface, which is 1500 and is stored as a global constant CONFIG_MTU. We should support different MTUs for different interfaces, but it gets complicated because sometimes localhost packets will be sent over the external Internet interface instead of the loopback interface.

@stevenengler stevenengler added the Type: Enhancement New functionality or improved design label Oct 4, 2023
@ppopth
Copy link
Contributor

ppopth commented Oct 5, 2023

Run ip addr to get the confirmation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New functionality or improved design
Projects
None yet
Development

No branches or pull requests

2 participants