Здравствуйте.
Нужен совет. Проверить сейчас не могу - доступа к серверу нет.
Надо на Debian12 сделать bonding из enp5s0 enp5s1
Какой из конфигов будет работать?
interfaces.bond
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# Frontend bond interface
auto bond0
iface bond0 inet static
address 192.168.201.141/25
gateway 192.168.201.129
dns-nameservers 192.168.201.129
bond-slaves enp5s0 enp5s1
bond-mode 5
bond-primary enp5s0
bond-miimon 100
bond-downdelay 300
bond-updelay 700
mtu 9000
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto enp5s0
iface enp5s0 inet manual
bond-master bond0
auto enp5s1
iface enp5s1 inet manual
bond-master bond0
auto bond0
iface bond0 inet static
address 192.168.201.141/25
gateway 192.168.201.129
dns-nameservers 192.168.201.129
mtu 9000
bond-mode 5
bond-miimon 100
bond-downdelay 300
bond-updelay 700
bond-slaves enp5s0 enp5s1