Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2019-11-07,master
commit 8a236282335c64552fdfee7c675ecb092a965f9d Author: Sven Eckelmann sven@narfation.org Date: Sun Oct 27 18:32:49 2019 +0000
doc: open-mesh/Mixing_VM_with_gluon_hardware
8a236282335c64552fdfee7c675ecb092a965f9d open-mesh/Mixing_VM_with_gluon_hardware.textile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/open-mesh/Mixing_VM_with_gluon_hardware.textile b/open-mesh/Mixing_VM_with_gluon_hardware.textile index e9bd49c..4e43c1d 100644 --- a/open-mesh/Mixing_VM_with_gluon_hardware.textile +++ b/open-mesh/Mixing_VM_with_gluon_hardware.textile @@ -1,6 +1,6 @@ h1. Mixing VM with gluon hardware
-The "freifunk gluon":https://github.com/freifunk-gluon/gluon firmware is a relative common framework to create OpenWrt based firmware images for mesh systems with central VPN servers. The [[Emulation_Environment|emulation environments]] using Linux bridge as interconnect can be directly connected to a device running a gluon firmware. +The "freifunk gluon":https://github.com/freifunk-gluon/gluon firmware is a relative common framework to create OpenWrt based firmware images for mesh networks with central VPN servers. The [[Emulation_Environment|emulation environments]] using Linux bridge as interconnect can be directly connected to a device running a gluon firmware.
!gluon-vxlan.png!
@@ -42,9 +42,9 @@ interface_linklocal() { echo "fe80::$(xor2 "$1")$2:$3ff:fe$4:$5$6" }
-sudo ip addr add "$(interface_linklocal)"/64 dev "$ETH" -sudo ip link del "${VXLAN}" -sudo ip -6 link add "${VXLAN}" type vxlan \ +ip addr add "$(interface_linklocal)"/64 dev "$ETH" +ip link del "${VXLAN}" +ip -6 link add "${VXLAN}" type vxlan \ id "${VXLAN_ID}" \ dstport 4789 \ local "$(interface_linklocal)" \ @@ -53,8 +53,10 @@ sudo ip -6 link add "${VXLAN}" type vxlan \ udp6zerocsumtx udp6zerocsumrx \ ttl 1
-sudo ip link set "${VXLAN}" up master "${BRIDGE}" +ip link set "${VXLAN}" up master "${BRIDGE}" EOF
chmod +x interconnect-add-vxlan.sh + +sudo ./interconnect-add-vxlan.sh </code></pre>