Okay. I have checked my conf files, i had used some examples found on Ubuntu website.
For ifupdown: https://help.ubuntu.com/community/UbuntuBonding#Descriptions_of_bonding_modes
For nplan: https://insights.ubuntu.com/2017/07/05/quick-and-easy-network-configuration-with-netplan https://insights.ubuntu.com/2017/12/01/ubuntu-bionic-netplan I saw that i MUST define something at nic level: Error in network definition //etc/netplan/01-netcfg.yaml line 13 column 9: bond0: interface eno1 is not defined
I do some other tests. This config does not work: auto eno3 iface eno3 inet manual bond-master bond1
auto eno4 iface eno4 inet manual bond-master bond1
auto bond1 iface bond1 inet manual bond-slaves eno3 eno4 bond-mode 802.3ad bond-miion 100 bond-lacp-rate fast bond-xmit_hash_policy layer2+3
Error => "bondX: Warning: No 802.3ad response from the link partner for any adapters in the bond" "Slave Interface: enoxx MII Status: down"
I do some changes: removing bond parameters from e/n/i, unload bonding modules and put module parameters in "modprobe"
/e/n/i (note that you MUST configure nic) auto eno3 iface eno3 inet manual bond-master bond1
auto bond1 iface bond1 inet manual bond-slaves eno3 eno4
/etc/modprobe.d/netcf.conf: alias bond0 bonding alias bond1 bonding options bonding mode=4 lacp_rate=1 xmit_hash_policy=2 miimon=100 downdelay=200 updelay=200
It WORKS !!
Okay.
I have checked my conf files, i had used some examples found on Ubuntu website.
For ifupdown: /help.ubuntu. com/community/ UbuntuBonding# Descriptions_ of_bonding_ modes
https:/
For nplan: /insights. ubuntu. com/2017/ 07/05/quick- and-easy- network- configuration- with-netplan /insights. ubuntu. com/2017/ 12/01/ubuntu- bionic- netplan 01-netcfg. yaml line 13 column 9: bond0: interface eno1 is not defined
https:/
https:/
I saw that i MUST define something at nic level:
Error in network definition //etc/netplan/
I do some other tests.
This config does not work:
auto eno3
iface eno3 inet manual
bond-master bond1
auto eno4
iface eno4 inet manual
bond-master bond1
auto bond1 hash_policy layer2+3
iface bond1 inet manual
bond-slaves eno3 eno4
bond-mode 802.3ad
bond-miion 100
bond-lacp-rate fast
bond-xmit_
Error =>
"bondX: Warning: No 802.3ad response from the link partner for any adapters in the bond"
"Slave Interface: enoxx
MII Status: down"
I do some changes: removing bond parameters from e/n/i, unload bonding modules and put module parameters in "modprobe"
/e/n/i (note that you MUST configure nic)
auto eno3
iface eno3 inet manual
bond-master bond1
auto eno4
iface eno4 inet manual
bond-master bond1
auto bond1
iface bond1 inet manual
bond-slaves eno3 eno4
/etc/modprobe. d/netcf. conf:
alias bond0 bonding
alias bond1 bonding
options bonding mode=4 lacp_rate=1 xmit_hash_policy=2 miimon=100 downdelay=200 updelay=200
It WORKS !!