Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2019-09-14,master
commit d1ce9041071933b0cb7e77d201cdf8a6619e70a0 Author: Sven Eckelmann sven@narfation.org Date: Sat Feb 23 22:57:57 2019 +0000
doc: open-mesh/hub-gluon.sh
d1ce9041071933b0cb7e77d201cdf8a6619e70a0 open-mesh/hub-gluon.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/open-mesh/hub-gluon.sh b/open-mesh/hub-gluon.sh index 0cf694f..4bc00ee 100644 --- a/open-mesh/hub-gluon.sh +++ b/open-mesh/hub-gluon.sh @@ -1,7 +1,7 @@ #! /bin/sh USER="$(whoami)" BRIDGE=br0 -ETH=enp10s0 +ETH=enp8s0 VXLAN=vx_mesh_lan # calculated on gluon node via: lua -lgluon.util -e 'print(tonumber(gluon.util.domain_seed_bytes("gluon-mesh-vxlan", 3), 16))' VXLAN_ID=12094920 @@ -28,11 +28,12 @@ done
sudo ip link set "${BRIDGE}" up
+sudo ip addr add "$(interface_linklocal)"/64 dev "$ETH" sudo ip link del "${VXLAN}" sudo ip -6 link add "${VXLAN}" type vxlan \ id "${VXLAN_ID}" \ dstport 4789 \ - local fe80::1ee9:9241:425b:7590 \ + local "$(interface_linklocal)" \ group ff02::15c \ dev "${ETH}" \ udp6zerocsumtx udp6zerocsumrx \