From 5fffbc77e2a2f1d9f4afa4c7ba318c99d42b720c Mon Sep 17 00:00:00 2001 From: Mathis Laceppe Date: Tue, 24 Jan 2023 08:50:27 +0100 Subject: [PATCH] ajout echo pour ping --- wireguard/ping-agence.sh | 8 ++++++++ wireguard/ping-rext.sh | 8 ++++++++ wireguard/ping-rint.sh | 7 +++++++ wireguard/ping-sinfra.sh | 12 ++++++------ 4 files changed, 29 insertions(+), 6 deletions(-) diff --git a/wireguard/ping-agence.sh b/wireguard/ping-agence.sh index d675295..902d6ba 100644 --- a/wireguard/ping-agence.sh +++ b/wireguard/ping-agence.sh @@ -1,14 +1,22 @@ #!/bin/bash + +echo ping interface paserelle r-vp2 ping -c3 172.16.128.254 +echo ping r-vp1 interface n-linkv ping -c3 192.168.1.2 +echo ping r-ext interface n-linkv ping -c3 192.168.1.1 +echo ping r-ext interface n-link ping -c3 192.168.200.253 +echo ping r-int interface n-link ping -c3 192.168.200.254 +echo ping r-int interface s-infra ping -c3 172.16.0.254 +echo ping s-infra ping -c3 172.16.0.1 diff --git a/wireguard/ping-rext.sh b/wireguard/ping-rext.sh index e42f779..ecba47f 100755 --- a/wireguard/ping-rext.sh +++ b/wireguard/ping-rext.sh @@ -1,14 +1,22 @@ #!/bin/bash + +echo ping s-infra ping -c3 172.16.0.1 +echo ping r-int interface n-infra ping -c3 172.16.0.254 +echo ping r-int interface n-link ping -c3 192.168.200.254 +echo ping r-ext interface n-linkv ping -c3 192.168.1.1 +echo ping r-vp1 interface n-linkv ping -c3 192.168.1.2 +echo ping r-vp2 interface n-ag ping -c3 172.16.128.254 +echo ping s-agence ping -c3 172.16.128.10 diff --git a/wireguard/ping-rint.sh b/wireguard/ping-rint.sh index 99e92aa..5a2a227 100644 --- a/wireguard/ping-rint.sh +++ b/wireguard/ping-rint.sh @@ -1,12 +1,19 @@ #!/bin/bash + +echo ping s-infra ping -c3 172.16.0.1 +echo ping r-ext interface n-link ping -c3 192.168.200.253 +echo ping r-ext interface n-linkv ping -c3 192.168.1.1 +echo ping r-vp1 interface n-link ping -c3 192.168.1.2 +echo ping r-vp2 interface n-ag ping -c3 172.16.128.254 +echo ping s-agence ping -c3 172.16.128.10 diff --git a/wireguard/ping-sinfra.sh b/wireguard/ping-sinfra.sh index 9cd09c6..31be267 100644 --- a/wireguard/ping-sinfra.sh +++ b/wireguard/ping-sinfra.sh @@ -1,14 +1,14 @@ #!/bin/bash echo ping vers r-int -ping -c3 172.16.0.254 # ping r-int s-infra +ping -c3 172.16.0.254 -echo ping r-int interface externe -ping -c3 192.168.200.254 # ping r-int vers r-ext +echo ping r-int interface externe +ping -c3 192.168.200.254 -echo ping r-ext interface interne -ping -c3 192.168.200.253 # ping r-ext vers +echo ping r-ext interface interne +ping -c3 192.168.200.253 -echo ping r-ext interface liaison +echo ping r-ext interface liaison ping -c3 192.168.1.1 echo ping r-vp1 interface liaison n-linkv