2
0
mirror of https://github.com/knorrie/network-examples synced 2025-08-30 05:58:31 +00:00

New ping needs explicit 4 for IPv4

Without the 4 it will default to IPv6 now. In the past it would do IPv4.
This probably has to be changed in more places.
This commit is contained in:
Hans van Kranenburg 2017-11-10 00:09:32 +01:00
parent 67ba3a2c67
commit bbacc3e14c

View File

@ -224,7 +224,7 @@ Oh, there's our first problem... it's still a bit too basic :)
The fact that we can do this already proves networking is set up right!
root@birdbase:/# ping -n -c 3 knorrie.org
root@birdbase:/# ping4 -n -c 3 knorrie.org
PING knorrie.org (82.94.188.77) 56(84) bytes of data.
64 bytes from 82.94.188.77: icmp_seq=1 ttl=54 time=6.64 ms
64 bytes from 82.94.188.77: icmp_seq=2 ttl=54 time=5.12 ms