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

Set the MTU on tap interfaces #308

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

musl
Copy link

@musl musl commented Mar 25, 2020

The MTU of tap interfaces must match the bridge they're added to. This PR makes the tap interface MTU match the bridge interface.

I ran into this when switching over to a larger MTU to get better throughput for services I'm testing. I found that I needed to manually set the MTU of the tap interfaces and add them to the bridge after starting guests. During startup, there'd be errors like ifconfig: BRDGADD tap0: Invalid argument.

I've tested this in a couple of cases, but it's certainly not exhaustively vetted.

Thanks! Hopefully it's worth the merge.

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

Successfully merging this pull request may close these issues.

1 participant