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:
parent
cb8e699bb0
commit
ef9773365b
3
start.sh
3
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
|
||||
|
Loading…
Reference in New Issue
Block a user