#!/bin/sh . ./testlib.sh require_root "$0" "$@" test -e /dev/net/tun || exit $EXIT_SKIP_TEST ip netns list || exit $EXIT_SKIP_TEST ip_foo=192.168.1.1 ip_bar=192.168.1.2 mask=24 echo [STEP] Create network namespaces ip netns add ping.test1 ip netns add ping.test2 cleanup_hook() { ip netns del ping.test1 ip netns del ping.test2 } echo [STEP] Initialize two nodes tinc foo <