systemd-networkd versklavt keine Schnittstellen auf Bond

1632
user61664

Ich habe systemd-210 auf einem Server installiert und möchte eine Verbindung für 4 Schnittstellen herstellen. Deshalb habe ich eine "catch-all" .network-Datei erstellt:

/etc/systemd/networkd/10.all-interfaces-nach-bond0:

[Match] Name=en*  [Network] Bond=bond0 

Außerdem habe ich die Datei bond.netdev erstellt:

/etc/systemd/networkd/20.bond0.netdev:

[NetDev] Name=bond0 Kind=bond 

Und zum Schluss noch eine Konfiguration für das Bond-Interface /etc/systemd/networkd/30.bond0.network:

[Match] Name=bond0  [Network] Address=192.168.1.59/24 Gateway=192.168.1.254 

Jetzt habe ich eine 'bond0'-Schnittstelle, die korrekt konfiguriert ist, aber keine Slaves hat.

Ich muss manuell eingeben:

# ifenslave bond0 enp2s0f0 snp2s0f1 enp5s0f0 enp5s0f1 um die Schnittstelle zur Bindung zu versklaven.

Warum stellt networkd meine Schnittstellen nicht als Slaves ein?

in journalctl bekomme ich:

systemd-udevd[3666]: Could not apply link config to bond0 
2

1 Antwort auf die Frage

0
user61664

Das Problem wird mit systemd-211 gelöst.