Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Commit

Permalink
Enable BONDING_MASTER_UP_ENSLAVE for jumbo frames
Browse files Browse the repository at this point in the history
For older kernels BONDING_MASTER_UP_ENSLAVE='yes' is required when the MTU is
set to 9000 (jumbo frames).

For more details see https://www.novell.com/support/kb/doc.php?id=7014947
  • Loading branch information
Rick Salevsky committed May 28, 2015
1 parent 3d828e6 commit e98db08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chef/cookbooks/network/templates/default/suse-cfg.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ BONDING_MODULE_OPTS=<%=quote("mode=#{@nic.mode} miimon=#{@nic.miimon}")%>
<% iface["slaves"].each_with_index do |slave,i| -%>
BONDING_SLAVE_<%=i%>=<%=quote(slave)%>
<% end -%>
<% if iface["mtu"] != 1500 -%>
BONDING_MASTER_UP_ENSLAVE='yes'
<% end -%>
<% end -%>
<% v4addrs, v6addrs = iface["addresses"].map{|a|::IP.coerce(a)}.partition{|a|a.kind_of? IP::IP4}
v4addrs.each_index do |i| -%>
Expand Down

0 comments on commit e98db08

Please sign in to comment.