-
Notifications
You must be signed in to change notification settings - Fork 99
Self assembling zones should set their own MTU #3520
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,6 +17,13 @@ if [[ $DATALINK == unknown ]] || [[ $GATEWAY == unknown ]]; then | |
| exit "$SMF_EXIT_ERR_CONFIG" | ||
| fi | ||
|
|
||
| # TODO remove when https://github.com/oxidecomputer/stlouis/issues/435 is addressed | ||
| ipadm delete-if "$DATALINK" || true | ||
| ipadm create-if -t "$DATALINK" | ||
|
|
||
| ipadm set-ifprop -t -p mtu=9000 -m ipv4 "$DATALINK" | ||
| ipadm set-ifprop -t -p mtu=9000 -m ipv6 "$DATALINK" | ||
|
Comment on lines
+24
to
+25
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was there a bug or something for why we needed to explicitly set the ip-level MTU instead of just relying on the link's MTU?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It was more an assurance thing |
||
|
|
||
| ipadm show-addr "$DATALINK/ll" || ipadm create-addr -t -T addrconf "$DATALINK/ll" | ||
| ipadm show-addr "$DATALINK/omicron6" || ipadm create-addr -t -T static -a "$LISTEN_ADDR" "$DATALINK/omicron6" | ||
| route get -inet6 default -inet6 "$GATEWAY" || route add -inet6 default -inet6 "$GATEWAY" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making this explicit!