我从github clone源码失败。ping测试github无法ping通,但DNS解析正常:
$ ping github.com
PING github.com (52.74.223.119) 56(84) bytes of data.
^C
--- github.com ping statistics ---
25 packets transmitted, 0 received, 100% packet loss, time 23999ms
gitlab可以正常ping通:
$ ping gitlab.com
PING gitlab.com (35.231.145.151) 56(84) bytes of data.
64 bytes from 151.145.231.35.bc.googleusercontent.com (35.231.145.151): icmp_seq=1 ttl=37 time=250 ms
64 bytes from 151.145.231.35.bc.googleusercontent.com (35.231.145.151): icmp_seq=2 ttl=37 time=251 ms
64 bytes from 151.145.231.35.bc.googleusercontent.com (35.231.145.151): icmp_seq=3 ttl=37 time=250 ms
64 bytes from 151.145.231.35.bc.googleusercontent.com (35.231.145.151): icmp_seq=4 ttl=37 time=250 ms
^C
--- gitlab.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 250.297/250.609/251.446/0.599 ms