ajout echo pour ping

This commit is contained in:
Mathis Laceppe 2023-01-24 08:50:27 +01:00
parent b1e87cdd1e
commit 5fffbc77e2
4 changed files with 29 additions and 6 deletions

View File

@ -1,14 +1,22 @@
#!/bin/bash #!/bin/bash
echo ping interface paserelle r-vp2
ping -c3 172.16.128.254 ping -c3 172.16.128.254
echo ping r-vp1 interface n-linkv
ping -c3 192.168.1.2 ping -c3 192.168.1.2
echo ping r-ext interface n-linkv
ping -c3 192.168.1.1 ping -c3 192.168.1.1
echo ping r-ext interface n-link
ping -c3 192.168.200.253 ping -c3 192.168.200.253
echo ping r-int interface n-link
ping -c3 192.168.200.254 ping -c3 192.168.200.254
echo ping r-int interface s-infra
ping -c3 172.16.0.254 ping -c3 172.16.0.254
echo ping s-infra
ping -c3 172.16.0.1 ping -c3 172.16.0.1

View File

@ -1,14 +1,22 @@
#!/bin/bash #!/bin/bash
echo ping s-infra
ping -c3 172.16.0.1 ping -c3 172.16.0.1
echo ping r-int interface n-infra
ping -c3 172.16.0.254 ping -c3 172.16.0.254
echo ping r-int interface n-link
ping -c3 192.168.200.254 ping -c3 192.168.200.254
echo ping r-ext interface n-linkv
ping -c3 192.168.1.1 ping -c3 192.168.1.1
echo ping r-vp1 interface n-linkv
ping -c3 192.168.1.2 ping -c3 192.168.1.2
echo ping r-vp2 interface n-ag
ping -c3 172.16.128.254 ping -c3 172.16.128.254
echo ping s-agence
ping -c3 172.16.128.10 ping -c3 172.16.128.10

View File

@ -1,12 +1,19 @@
#!/bin/bash #!/bin/bash
echo ping s-infra
ping -c3 172.16.0.1 ping -c3 172.16.0.1
echo ping r-ext interface n-link
ping -c3 192.168.200.253 ping -c3 192.168.200.253
echo ping r-ext interface n-linkv
ping -c3 192.168.1.1 ping -c3 192.168.1.1
echo ping r-vp1 interface n-link
ping -c3 192.168.1.2 ping -c3 192.168.1.2
echo ping r-vp2 interface n-ag
ping -c3 172.16.128.254 ping -c3 172.16.128.254
echo ping s-agence
ping -c3 172.16.128.10 ping -c3 172.16.128.10

View File

@ -1,12 +1,12 @@
#!/bin/bash #!/bin/bash
echo ping vers r-int 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 echo ping r-int interface externe
ping -c3 192.168.200.254 # ping r-int vers r-ext ping -c3 192.168.200.254
echo ping r-ext interface interne echo ping r-ext interface interne
ping -c3 192.168.200.253 # ping r-ext vers ping -c3 192.168.200.253
echo ping r-ext interface liaison echo ping r-ext interface liaison
ping -c3 192.168.1.1 ping -c3 192.168.1.1