/etc/systemd/network/bond0.netdev
[Match]
[NetDev]
Name=bond0
Kind=bond
[Bond]
Mode=802.3ad
MIIMonitorSec=.1s
LACPTransmitRate=fast
UpDelaySec=.2s
DownDelaySec=.2s
TransmitHashPolicy=layer3+4
/etc/systemd/network/bond0.network
[Match]
Name=bond0
[Link]
MTUBytes=9000
[Network]
DHCP=no
Address=192.168.123.4/24
Address=fe80::4/64
DNS=192.168.123.254
# Default Gateway (could also be specified in the [Network] section)
[Route]
Gateway=192.168.123.254
# static route
[Route]
Destination=192.168.0.0/24
Gateway=192.168.123.253
# ECMP
[Route]
Destination=192.168.5.0/24
MultiPathRoute=192.168.123.220
MultiPathRoute=192.168.123.221
MultiPathRoute=192.168.123.222
MultiPathRoute=192.168.123.223
/etc/systemd/network/eth0.network
[Match]
Name=eth0
[Network]
Bond=bond0
/etc/systemd/network/eth1.network
[Match]
Name=eth1
[Network]
Bond=bond0
/etc/systemd/network/bond0.netdev/etc/systemd/network/bond0.network/etc/systemd/network/eth0.network/etc/systemd/network/eth1.network