Ora sei tu che non mi credi?...
View attachment 111778
Parliamo del codice di LucaMs e Nicola, vero?
Come ti ho già spiegato anche con la modifica di Luca non puoi ottenere una cosa diversa rispetto a quello che otterresti utilizzando un normale ping come questo:
Bash:
PING 185.104.124.17 (185.104.124.17) 56(84) bytes of data.
--- 185.104.124.17 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1000ms
[root@mysql ~]# ping -w1 195.60.191.158
PING 195.60.191.158 (195.60.191.158) 56(84) bytes of data.
64 bytes from 195.60.191.158: icmp_seq=1 ttl=55 time=48.3 ms
--- 195.60.191.158 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 48.388/48.388/48.388/0.000 ms
[root@mysql ~]# ping -w1 185.104.124.29
PING 185.104.124.29 (185.104.124.29) 56(84) bytes of data.
--- 185.104.124.29 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1000ms
[root@mysql ~]# ping -w1 195.60.191.217
PING 195.60.191.217 (195.60.191.217) 56(84) bytes of data.
64 bytes from 195.60.191.217: icmp_seq=1 ttl=55 time=31.0 ms
--- 195.60.191.217 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 31.043/31.043/31.043/0.000 ms
[root@mysql ~]# ping -w1 195.60.191.193
PING 195.60.191.193 (195.60.191.193) 56(84) bytes of data.
64 bytes from 195.60.191.193: icmp_seq=1 ttl=55 time=79.3 ms
--- 195.60.191.193 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 79.353/79.353/79.353/0.000 ms
[root@mysql ~]# ping -w1 89.21.218.179
PING 89.21.218.179 (89.21.218.179) 56(84) bytes of data.
--- 89.21.218.179 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1000ms
[root@mysql ~]# ping -w1 195.60.191.192
PING 195.60.191.192 (195.60.191.192) 56(84) bytes of data.
64 bytes from 195.60.191.192: icmp_seq=1 ttl=55 time=48.5 ms
--- 195.60.191.192 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 48.580/48.580/48.580/0.000 ms
[root@mysql ~]# ping -w1 94.101.54.205
PING 94.101.54.205 (94.101.54.205) 56(84) bytes of data.
--- 94.101.54.205 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1000ms
[root@mysql ~]# ping -w1 94.101.60.12
PING 94.101.60.12 (94.101.60.12) 56(84) bytes of data.
--- 94.101.60.12 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1000ms
[root@mysql ~]# ping -w1 94.101.55.163
PING 94.101.55.163 (94.101.55.163) 56(84) bytes of data.
--- 94.101.55.163 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1000ms
ping: unknown host 128.123.123.345
Che è esattamente quello che ottieni dalla procedura