Skip to content

Commit

Permalink
Fix MTU on bond interface.
Browse files Browse the repository at this point in the history
The MTU is only being set on the slave devices and the MTU of the
bonding master is not being updated. This updates the bonding master and
also changes the MTU on the slaves as expected.

Signed-Off-By: Robert LeBlanc <robert@leblancnet.us>
  • Loading branch information
Robert LeBlanc committed Sep 21, 2017
1 parent 424c065 commit d0eabca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/40network/ifup.sh
Expand Up @@ -257,7 +257,7 @@ if [ -z "$NO_BOND_MASTER" ]; then
done

# Set mtu on bond master
[ -n "$bondmtu" ] && ip link set mtu $bondmtu dev $netif
[ -n "$bondmtu" ] && ip link set mtu $bondmtu dev $bondname

# add the bits to setup the needed post enslavement parameters
for arg in $bondoptions ; do
Expand Down

0 comments on commit d0eabca

Please sign in to comment.