Config selon version Debian

This commit is contained in:
jdubois 2021-12-16 18:46:32 +01:00
parent 9de79268da
commit f432049a4e

View file

@ -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