Bug 80577 - systemd-networkd: RFE: Add support for bonding options
Summary: systemd-networkd: RFE: Add support for bonding options
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium enhancement
Assignee: Tom Gundersen
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-26 23:51 UTC by Jay Faulkner
Modified: 2014-07-17 02:39 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Jay Faulkner 2014-06-26 23:51:08 UTC
Currently, if you configure a bonded interface you cannot specify any options for the bond -- most importantly "mode" -- but a host of others.

A workaround is to modprobe the bonding module with the options you want before loading systemd-networkd, for example:

modprobe bonding mode=4 mii=100 lacp_mode=1 
systemdctl start systemd-networkd.service


Most other configuration file formats for network configuration support specifying bonding options, and it'd be very nice for systemd-networkd to support this as well.
Comment 1 Zbigniew Jedrzejewski-Szmek 2014-07-17 02:39:25 UTC
Mode= switch added in http://cgit.freedesktop.org/systemd/systemd/commit/?id=fe8ac65b68. Other options are on the TODO list.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.