Updated vhost1 and vhost2 to use LACP.
authorZoltán Felleg <zoltan.felleg@userrendszerhaz.hu>
Tue, 2 Jun 2020 14:01:58 +0000 (16:01 +0200)
committerZoltán Felleg <zoltan.felleg@userrendszerhaz.hu>
Tue, 2 Jun 2020 14:01:58 +0000 (16:01 +0200)
sources/vhost1.usr/01_setupnetworking.sh
sources/vhost2.usr/01_setupnetworking.sh

index 17503568e941478e6959613e3d949a337fd26c44..f89015e804e94175001cda7a6ee5b49166746f84 100755 (executable)
@@ -73,7 +73,7 @@ nmcli connection add \
     connection.type bond \
     connection.master $INTERNAL_BRIDGE_DEVICE \
     connection.slave-type bridge \
-    bond.options "mode=active-backup,miimon=100" \
+    bond.options "mode=802.3ad,lacp_rate=fast,miimon=100,xmit_hash_policy=layer2+3" \
     save yes
 
 nmcli connection add \
index 4c321973bc09c2b702b410b5d5b7e408a8d0c3bf..360b5f9e9a95817a2820961ecd4db96977b2e465 100755 (executable)
@@ -73,7 +73,7 @@ nmcli connection add \
     connection.type bond \
     connection.master $INTERNAL_BRIDGE_DEVICE \
     connection.slave-type bridge \
-    bond.options "mode=active-backup,miimon=100" \
+    bond.options "mode=802.3ad,lacp_rate=fast,miimon=100,xmit_hash_policy=layer2+3" \
     save yes
 
 nmcli connection add \