Add vxlan into the bridge

This commit is contained in:
Nico Schottelius 2020-01-11 00:23:55 +01:00
parent b9c9a5e0ec
commit 3825c7c210
1 changed files with 3 additions and 0 deletions

View File

@ -18,7 +18,10 @@ ip -6 link add ${vxlandev} type vxlan \
ip link set ${vxlandev} up
ip link add ${bridgedev} type bridge
ip link set ${bridgedev} up
ip link set ${vxlandev} master ${bridgedev} up
ip addr add ${ip} dev ${bridgedev}