]> git.feebdaed.xyz Git - linuxyz.git/commitdiff
bond
authorseantywork <seantywork@gmail.com>
Thu, 5 Jun 2025 06:19:01 +0000 (15:19 +0900)
committerseantywork <seantywork@gmail.com>
Thu, 5 Jun 2025 06:19:01 +0000 (15:19 +0900)
README.md

index 1a5ac80c1b585f4e5d6dd565267d5374633c359a..bb229130969241a9b305def2181d34ce12317862 100644 (file)
--- a/README.md
+++ b/README.md
@@ -2832,9 +2832,12 @@ ip netns exec net1 ip link addr add 192.168.0.16 dev macvlan1
 
 # bond 
 
-ip link add bond1 type bond miimon 100 mode active-backup
+#ip link add bond1 type bond miimon 100 mode active-backup
+ip link add bond1 type bond miimon 100 mode balance-xor
+ip link addr add $ETH0_ADDR dev bond1 
 ip link set eth0 master bond1
 ip link set eth1 master bond1
+ip link set bond1 up
 ```
 
 ```shell