aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Gschwantner <tharre3@gmail.com>2019-08-03 04:30:37 +0200
committerThomas Gschwantner <tharre3@gmail.com>2019-08-17 19:31:31 +0200
commit2ac97d672f753c8e4a77542e51dcc963eba94279 (patch)
treeda8891ff295dd736beee00315a62888f31a80b42 /tests
parentradix-trie: implement pool shadowing (diff)
downloadwg-dynamic-2ac97d672f753c8e4a77542e51dcc963eba94279.tar.xz
wg-dynamic-2ac97d672f753c8e4a77542e51dcc963eba94279.zip
Initialize pools from routes via netlink
Diffstat (limited to 'tests')
-rwxr-xr-xtests/netsh.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/netsh.sh b/tests/netsh.sh
index 3d98550..0376c14 100755
--- a/tests/netsh.sh
+++ b/tests/netsh.sh
@@ -73,6 +73,10 @@ configure_peers() {
ip2 link set up dev wg0
ip2 route add fe80::/128 dev wg0
+ ip1 route add 192.168.4.0/28 dev wg0
+ ip1 route add 192.168.73.0/27 dev wg0
+ ip1 route add 2001:db8:1234::/124 dev wg0
+ ip1 route add 2001:db8:7777::/124 dev wg0
}
configure_peers