<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemd-networkd ignores bond0's initial mode"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82956#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - systemd-networkd ignores bond0's initial mode"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82956">bug 82956</a>
from <span class="vcard"><a class="email" href="mailto:antony@mes.ser.li" title="Antony Messerli <antony@mes.ser.li>"> <span class="fn">Antony Messerli</span></a>
</span></b>
<pre>Yeah, my mistake, I totally copied that in wrong:
/etc/systemd/network/10-create-bond0.network:
[Match]
Name=enp1s0f[01]
[Network]
Bond=bond0
EOF
/etc/systemd/network/10-bond0.netdev:
[NetDev]
Name=bond0
Kind=bond
[Bond]
Mode=802.3ad
LACPTransmitRate=fast
MIIMonitorSec=1s
UpDelaySec=2s
DownDelaySec=8s
If you remove the module with modprobe -r bonding and then reload with modprobe
bonding, you'll see by default it does load up a bond0 by default. If you
check /proc/net/bonding/bond0 and then reload systemd-networkd to reconfigure,
you'll see that the setting is still set the default of roundrobin and doesn't
pick up the 802.3ad setting.
Adding a modules.d/bonding.conf with the settings I want to bond0 does appear
to get around this.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>