From 31475907d3c9ad90338aadded39e03b9d0f25098 Mon Sep 17 00:00:00 2001 From: Thomas Kolb Date: Thu, 7 Apr 2022 20:44:07 +0200 Subject: [PATCH] Switch to IPv6 --- impl/setup_tundev.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/impl/setup_tundev.sh b/impl/setup_tundev.sh index eef4411..bdd3f8c 100755 --- a/impl/setup_tundev.sh +++ b/impl/setup_tundev.sh @@ -9,8 +9,10 @@ fi set -euo pipefail +HOSTID="$1" + DEV=hamnet70 sudo ip tuntap add dev $DEV mode tun user $(whoami) sudo ip link set dev $DEV up -sudo ip address add dev $DEV 10.99.99.1/24 +sudo ip address add dev $DEV fd73::$HOSTID/64