bonding

bond0: option primary mode dependency failed not supported in mode balance-rr

в debian 9 стала вылазить такая хрень в бондинге:

bond0: option primary mode dependency failed not supported in mode balance-rr

необходимо на интерфейсах которые входят в бондинг закоментить или параметр bond-primary

iface enp4s0f0 inet manual
bond-master bond0
# bond-primary enp4s0f1

Linux bonding driver modes

...
        balance-tlb or 5
 
                Adaptive transmit load balancing: channel bonding that
                does not require any special switch support.  The
                outgoing traffic is distributed according to the
                current load (computed relative to the speed) on each
                slave.  Incoming traffic is received by the current
                slave.  If the receiving slave fails, another slave
                takes over the MAC address of the failed receiving
                slave.
 
                Prerequisite:

linux bonding network interfaces

aptitude install ifenslave-2.6

auto bond0
iface bond0 inet static
        address 10.10.10.10
        netmask 255.255.0.0
        bond-slaves none
        bond-mode 0
        bond-miimon 100
 
auto eth0
allow-hotplug eth0
iface eth0 inet manual
        bond-master bond0
        bond-primary eth0 eth1
 
auto eth1
allow-hotplug eth1
iface eth1 inet manual
        bond-master bond0
        bond-primary eth0 eth1