Add script for pinging all 8 possible Ips
This commit is contained in:
parent
984c99b541
commit
871b187c2a
1 changed files with 10 additions and 0 deletions
10
netpfga/ping_ipv6_addresses.sh
Executable file
10
netpfga/ping_ipv6_addresses.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -x
|
||||
|
||||
for addr in $(seq 1 8); do
|
||||
ip=2001:db8:42::$addr
|
||||
echo "Next to ping: ${ip}"
|
||||
read dummy
|
||||
ping6 -c1 "$ip"
|
||||
done
|
Loading…
Reference in a new issue