Skip to content

Set explicit MTU on dummy/bridge lab network connections #150

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions configure-local-networking.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ fi
# Add a bridge 'braio' for the Kayobe all-in-one cloud network.
if ! sudo ip l show braio >/dev/null 2>&1; then
sudo ip l add braio type bridge
sudo ip l set braio mtu 1442
sudo ip l set braio up
sudo ip a add $seed_hv_ip/24 dev braio
fi
# On CentOS 8, bridges without a port are DOWN, which causes network
# configuration to fail. Add a dummy interface and plug it into the bridge.
if ! sudo ip l show dummy1 >/dev/null 2>&1; then
sudo ip l add dummy1 type dummy
sudo ip l set dummy1 mtu 1442
sudo ip l set dummy1 up
sudo ip l set dummy1 master braio
fi
Expand Down