Personal tools
You are here: Home Networking Linux systemd Using systemd network for bond, vlan and bridge static interfaces on Fedora
 

Using systemd network for bond, vlan and bridge static interfaces on Fedora

 

 

Links

 

systemd docs

 

blogs etc

 

Appendices

Bonding driver configuration

Add the following to the file '/etc/modprobe.d/bonding.conf' so that the bond driver doesn't create a bond0 interface with a default round-robin configuration.

 

# systemd-networkd won't change bond options (such as mode) if the bond already exists [1].
# This is confusing if we want to configure a bond0 since the kernel
# automatically creates a bond0 netdev as soon as the bonding module is loaded.
# This means systemd-networkd won't apply our preferred config.
#
# Therefore prevent the kernel from automatically creating a bond0 interface [2].
# This allows systemd-networkd to create the bond0 with appropriate options.
#
# [1] https://bugzilla.redhat.com/show_bug.cgi?id=1119347
# [2] http://lists.freedesktop.org/archives/systemd-devel/2015-March/029041.html
#
options bonding max_bonds=0

 

Document Actions