diff options
author | Thomas Gschwantner <tharre3@gmail.com> | 2019-08-03 04:30:37 +0200 |
---|---|---|
committer | Thomas Gschwantner <tharre3@gmail.com> | 2019-08-17 19:31:31 +0200 |
commit | 2ac97d672f753c8e4a77542e51dcc963eba94279 (patch) | |
tree | da8891ff295dd736beee00315a62888f31a80b42 /tests/netsh.sh | |
parent | radix-trie: implement pool shadowing (diff) | |
download | wg-dynamic-2ac97d672f753c8e4a77542e51dcc963eba94279.tar.xz wg-dynamic-2ac97d672f753c8e4a77542e51dcc963eba94279.zip |
Initialize pools from routes via netlink
Diffstat (limited to 'tests/netsh.sh')
-rwxr-xr-x | tests/netsh.sh | 4 |
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 |