Don't need to have a route between 4 and 1

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
Yohann D'ANELLO 2021-06-14 17:22:30 +02:00
parent cb8e699bb0
commit ef9773365b
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -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 tmux send-keys -t ns$i "ip address add 172.17.2.$i/24 dev vde2" Enter
done 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.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 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 ip route add 172.17.0.0/16 via 10.2.1.2
# Restrict HTTP transport on node 2 # Restrict HTTP transport on node 2