forked from uncloud/uncloud
Add vxlan into the bridge
This commit is contained in:
parent
b9c9a5e0ec
commit
3825c7c210
1 changed files with 3 additions and 0 deletions
|
@ -18,7 +18,10 @@ ip -6 link add ${vxlandev} type vxlan \
|
||||||
|
|
||||||
ip link set ${vxlandev} up
|
ip link set ${vxlandev} up
|
||||||
|
|
||||||
|
|
||||||
ip link add ${bridgedev} type bridge
|
ip link add ${bridgedev} type bridge
|
||||||
ip link set ${bridgedev} up
|
ip link set ${bridgedev} up
|
||||||
|
|
||||||
|
ip link set ${vxlandev} master ${bridgedev} up
|
||||||
|
|
||||||
ip addr add ${ip} dev ${bridgedev}
|
ip addr add ${ip} dev ${bridgedev}
|
||||||
|
|
Loading…
Reference in a new issue