From f432049a4e16afab3d6d5adb88cba85745e6e7db Mon Sep 17 00:00:00 2001 From: jdubois Date: Thu, 16 Dec 2021 18:46:32 +0100 Subject: [PATCH] Config selon version Debian --- HowtoDebian/Reseau.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/HowtoDebian/Reseau.md b/HowtoDebian/Reseau.md index 49343802..738eba60 100644 --- a/HowtoDebian/Reseau.md +++ b/HowtoDebian/Reseau.md @@ -268,7 +268,7 @@ Pour du bonding avec une configuration du côté des switchs, nous utilisons le Pour la configuration côté switch, voir par exemple [/SwitchCisco#vpc-virtual-port-channel]() pour du VPC. -Ce mode se configure ainsi : +Jusqu'à **Debian 10** compris, ce mode se configure ainsi : ~~~ # cat /etc/network/interfaces @@ -290,6 +290,22 @@ iface bond0 inet static bond-updelay 200 ~~~ +À partir de **Debian 11**, ce mode se configure ainsi : + +~~~ +# cat /etc/network/interfaces + +auto bond0 +iface bond0 inet static + address 192.0.2.1/24 + gateway 192.0.2.254 + bond-mode 802.3ad + bond-slaves eno1 eno2 + bond-miimon 100 + bond-downdelay 200 + bond-updelay 200 +~~~ + L'état peut se vérifier dans `/proc/net/bonding/bond0`. ## Ajouter une IPv6