Bullseye und bonding
Guten Morgen Liste,
ich versuche mit den aktuellen Programmversionen unter Bullseye ein
bonding zu konfigurieren, aber ohne dauerhaften Erfolg.
Die Einträge in /etc/network/interfaces siehen (anonymisiert) wie folgt aus:
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet static
address d.e.f.110
netmask 255.255.255.128
network d.e.f.0
broadcast d.e.f.127
gateway d.e.f.1
dns-nameservers ns3 ns4
dns-search xxx.tld.de
auto bond0
iface bond0 inet static
address a.b.c.2
netmask 255.255.255.240
network a.b.c.0
broadcast a.b.c.15
gateway a.b.c.1
dns-nameservers ns1 ns2 ns3
dns-search xxx.tld.de
bond-mode balance-rr
bond-slaves eno3 eno4
bond-miimon 100
bond-downdelay 200
bond-updelay 200
Ein "systemctl restart networking" gefolgt von einem "journalctl -xe"
erbringt:
Nov 09 08:25:21 R720xd ifup[2340810]: RTNETLINK answers: File exists
Nov 09 08:25:21 R720xd ifup[2340791]: ifup: failed to bring up eno1
Nov 09 08:25:21 R720xd connmand[124278]: bond0 {RX} 1473 packets 165473
bytes
Nov 09 08:25:21 R720xd connmand[124278]: bond0 {TX} 0 packets 0 bytes
Nov 09 08:25:21 R720xd connmand[124278]: bond0 {newlink} index 11
address 24:6E:96:0C:BD:4A mtu 1500
Nov 09 08:25:21 R720xd connmand[124278]: bond0 {newlink} index 11
operstate 2 <DOWN>
Nov 09 08:25:21 R720xd connmand[124278]: bond0 {RX} 1473 packets 165473
bytes
Nov 09 08:25:21 R720xd connmand[124278]: bond0 {TX} 0 packets 0 bytes
Nov 09 08:25:21 R720xd connmand[124278]: bond0 {newlink} index 11
address 24:6E:96:0C:BD:4A mtu 1500
Nov 09 08:25:21 R720xd connmand[124278]: bond0 {newlink} index 11
operstate 2 <DOWN>
Nov 09 08:25:21 R720xd connmand[124278]: bond0 {RX} 1473 packets 165473
bytes
Nov 09 08:25:21 R720xd connmand[124278]: bond0 {TX} 0 packets 0 bytes
Nov 09 08:25:21 R720xd connmand[124278]: bond0 {newlink} index 11
address 24:6E:96:0C:BD:4A mtu 1500
Nov 09 08:25:21 R720xd connmand[124278]: bond0 {newlink} index 11
operstate 2 <DOWN>
Nov 09 08:25:21 R720xd kernel: bond0: option mode: unable to set because
the bond device has slaves
Nov 09 08:25:21 R720xd ifup[2340816]:
/etc/network/if-pre-up.d/ifenslave: 39: echo: echo: I/O error
Nov 09 08:25:21 R720xd ifup[2340821]: ifquery: unknown interface eno3
Nov 09 08:25:21 R720xd ifup[2340829]: ifquery: unknown interface eno4
Nov 09 08:25:21 R720xd ifup[2340838]: RTNETLINK answers: File exists
Nov 09 08:25:21 R720xd ifup[2340791]: ifup: failed to bring up bond0
Ändere ich die Konfiguration in:
auto eno3
iface eno3 inet manual
bond-master bond0
auto eno4
iface eno4 inet manual
bond-master bond0
auto bond0
iface bond0 inet static
address a.b.c.2
netmask 255.255.255.240
network a.b.c.0
broadcast a.b.c.15
gateway a.b.c.1
dns-nameservers ns1 ns2 ns3
dns-search xxx.tld.de
bond-mode balance-rr
bond-miimon 100
bond-downdelay 200
bond-updelay 200
gefolgt von "systemctl restart networking" gefolgt von einem "journalctl
-xe" ergibt dann:
Nov 09 08:32:23 R720xd ifup[2354487]: RTNETLINK answers: File exists
Nov 09 08:32:23 R720xd ifup[2354468]: ifup: failed to bring up eno1
Nov 09 08:32:23 R720xd connmand[124278]: bond0 {RX} 1473 packets 165473
bytes
Nov 09 08:32:23 R720xd connmand[124278]: bond0 {TX} 0 packets 0 bytes
Nov 09 08:32:23 R720xd connmand[124278]: bond0 {newlink} index 11
address 24:6E:96:0C:BD:4A mtu 1500
Nov 09 08:32:23 R720xd connmand[124278]: bond0 {newlink} index 11
operstate 2 <DOWN>
Nov 09 08:32:23 R720xd connmand[124278]: bond0 {RX} 1473 packets 165473
bytes
Nov 09 08:32:23 R720xd connmand[124278]: bond0 {TX} 0 packets 0 bytes
Nov 09 08:32:23 R720xd connmand[124278]: bond0 {newlink} index 11
address 24:6E:96:0C:BD:4A mtu 1500
Nov 09 08:32:23 R720xd connmand[124278]: bond0 {newlink} index 11
operstate 2 <DOWN>
Nov 09 08:32:23 R720xd connmand[124278]: bond0 {RX} 1473 packets 165473
bytes
Nov 09 08:32:23 R720xd connmand[124278]: bond0 {TX} 0 packets 0 bytes
Nov 09 08:32:23 R720xd connmand[124278]: bond0 {newlink} index 11
address 24:6E:96:0C:BD:4A mtu 1500
Nov 09 08:32:23 R720xd connmand[124278]: bond0 {newlink} index 11
operstate 2 <DOWN>
Nov 09 08:32:23 R720xd ifup[2354493]:
/etc/network/if-pre-up.d/ifenslave: 39: echo: echo: I/O error
Nov 09 08:32:23 R720xd kernel: bond0: option mode: unable to set because
the bond device has slaves
Nov 09 08:32:23 R720xd ifup[2354499]: RTNETLINK answers: File exists
Nov 09 08:32:23 R720xd ifup[2354468]: ifup: failed to bring up bond0
Ein "systemctl stop connman" mit anschließendem "systemctl restart
networking" erbringt zwar das "ifup: failed to bring up eno1"
verschwindet (und eno1 auch wieder nutzbar ist), aber die bond0
Problematik bleibt bestehen ...
Also entweder:
Nov 09 09:12:06 R720xd ifup[2431415]:
/etc/network/if-pre-up.d/ifenslave: 39: echo: echo: I/O error
Nov 09 09:12:06 R720xd kernel: bond0: option mode: unable to set because
the bond device has slaves
Nov 09 09:12:06 R720xd postfix/postfix-script[2431426]: refreshing the
Postfix mail system
Nov 09 09:12:06 R720xd ifup[2431434]: RTNETLINK answers: File exists
Nov 09 09:12:06 R720xd ifup[2431172]: ifup: failed to bring up bond0
oder:
Nov 09 09:13:22 R720xd ifup[2434127]:
/etc/network/if-pre-up.d/ifenslave: 39: echo: echo: I/O error
Nov 09 09:13:22 R720xd kernel: bond0: option mode: unable to set because
the bond device has slaves
Nov 09 09:13:22 R720xd ifup[2434133]: RTNETLINK answers: File exists
Nov 09 09:13:22 R720xd ifup[2434113]: ifup: failed to bring up bond0
Hat jemand einen Tip, oder eine unter Bullseye nutzbar Konfig?
Mit Dank und Gruß
Torsten
Reply to: