Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beispiel für LACP-Konfiguration mit systemd-networkd #3

Open
UweSauter opened this issue Jul 17, 2023 · 0 comments
Open

Beispiel für LACP-Konfiguration mit systemd-networkd #3

UweSauter opened this issue Jul 17, 2023 · 0 comments

Comments

@UweSauter
Copy link

/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant