Wenn ich Networking neu starte kommt dieser Fehler:Failed to enslave eth0 to bond0. Is bond0 ready and a bonding interface ?
Failed to enslave eth1 to bond0. Is bond0 ready and a bonding interface ?
Illegal operation: The specified slave interface 'eth0' is already a slave
Master 'bond0', Slave 'eth0': Error: Enslave failed
Illegal operation: The specified slave interface 'eth1' is already a slave
Master 'bond0', Slave 'eth1': Error: Enslave failed
die Meldungen klingen ja irgendwie als wäre bonding da schon eingerichtet. Hattest du schon manuell ein bonding konfiguriert und versuchst das jetzt in UCR abzubilden? Evtl. muss man das dann vorher deaktivieren.
Bei mir funktioniert das Beispiel aus der Doku auf jeden Fall auf Anhieb (hatte vorher kein bonding).
um zu prüfen ob (und wie) bereits ein Bonding-Interface konfiguriert/aktiviert ist:cat /proc/net/bonding/*
Ggf. helfen auch die Ausgaben von
ip addr show / ifconfig -a
ifenslave-2.6 -a -v
cat /etc/network/interfaces
Um das Bonding-Interface direkt aktivieren zu können ist es notwendig dass die UCR-Variablen wie in der Dokumentation angegeben in einem Aufruf gesetzt werden:[code]grep -v ‘^#’ <<END_CONFIG | xargs -d ‘\n’ ucr set