Fix host bond interfaces - bring up eth slaves before adding to bond

This commit is contained in:
2025-11-28 14:10:34 +00:00
parent a027145204
commit 0a23b0ddeb

View File

@@ -74,6 +74,8 @@ topology:
exec:
# Create bonded interface with VLAN 40 tagging for L2 VXLAN test
- ip link add bond0 type bond mode balance-rr
- ip link set eth1 up
- ip link set eth2 up
- ip link set eth1 master bond0
- ip link set eth2 master bond0
- ip link set bond0 up
@@ -89,6 +91,8 @@ topology:
exec:
# Create bonded interface with VLAN 34 tagging for L3 VXLAN test (VRF gold)
- ip link add bond0 type bond mode balance-rr
- ip link set eth1 up
- ip link set eth2 up
- ip link set eth1 master bond0
- ip link set eth2 master bond0
- ip link set bond0 up
@@ -105,6 +109,8 @@ topology:
exec:
# Create bonded interface with VLAN 40 tagging for L2 VXLAN test
- ip link add bond0 type bond mode balance-rr
- ip link set eth1 up
- ip link set eth2 up
- ip link set eth1 master bond0
- ip link set eth2 master bond0
- ip link set bond0 up
@@ -120,6 +126,8 @@ topology:
exec:
# Create bonded interface with VLAN 78 tagging for L3 VXLAN test (VRF gold)
- ip link add bond0 type bond mode balance-rr
- ip link set eth1 up
- ip link set eth2 up
- ip link set eth1 master bond0
- ip link set eth2 master bond0
- ip link set bond0 up