Canonical way to configure bonds for Bullseye
Hello!
We are building Debian bullsye images for our bare-metal servers, and
there is a bit of ambiguity on 'canonical way to configure network bonds'.
Wiki gives options with ifenslave and systemd-networkd, and there is an
option to do it with post-up and ip route.
ifenslave is broken due to #991930, but it can be easily patched.
Which way is least surprise for a Debian user (for you)?
1. bond-slaves in interfaces
Example:
auto bond0
iface bond0
inet static
bond-slaves eth0 eth1
2. systemd-networkd unit
.netdev in /etc/systemd/network.
3. Manual operations in interfaces:
post-up ip link add bond0 type bond
...
Which way is least surprise for you?
Reply to: