mirror of
https://github.com/GNS3/gns3-registry.git
synced 2025-02-20 17:22:48 +00:00
openvswitch - IP configuration for bridge interfaces
This commit is contained in:
parent
b0b0d6f779
commit
0adce565aa
@ -46,7 +46,9 @@ if [ $firstrun -ne 0 ]; then
|
||||
done
|
||||
fi
|
||||
|
||||
# activate br0..br3
|
||||
for intf in br0 br1 br2 br3; do
|
||||
ip link set dev $intf up
|
||||
# activate bridge interfaces
|
||||
ovs-vsctl --bare -f table --columns=name find interface type=internal | \
|
||||
while read -r intf; do
|
||||
ip link set dev "$intf" up
|
||||
ifup -f "$intf"
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user