From ef9773365b9546f5391af1e4a90db34ea8fcce3e Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 14 Jun 2021 17:22:30 +0200 Subject: [PATCH] Don't need to have a route between 4 and 1 Signed-off-by: Yohann D'ANELLO --- start.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/start.sh b/start.sh index 2108922..877d4ce 100755 --- a/start.sh +++ b/start.sh @@ -109,11 +109,8 @@ for i in 2 3 4; do tmux send-keys -t ns$i "ip address add 172.17.2.$i/24 dev vde2" Enter done -tmux send-keys -t ns4 "ip route add 172.17.1.0/24 via 172.17.2.2 dev vde2 proto kernel" Enter -tmux send-keys -t ns4 "ip route add 172.17.1.0/24 via 172.17.2.3 dev vde2 proto kernel" Enter tmux send-keys -t ns4 "ip route add 10.2.1.0/24 via 172.17.2.2 dev vde2 proto kernel" Enter tmux send-keys -t ns4 "ip route add 10.2.1.0/24 via 172.17.2.3 dev vde2 proto kernel" Enter -tmux send-keys -t ns1 "ip route add 172.17.2.0/24 via 172.17.1.2 dev vde1 proto kernel" Enter ip route add 172.17.0.0/16 via 10.2.1.2 # Restrict HTTP transport on node 2