[systemd-bugs] [Bug 82956] systemd-networkd ignores bond0's initial mode

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 22 09:50:27 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82956

--- Comment #2 from Antony Messerli <antony at mes.ser.li> ---
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140822/12acd60f/attachment.html>


More information about the systemd-bugs mailing list