Google is is a multinational technology company with a lot of different services for internet users, companies, individuals even local businesses. Most of the Google services are provided via the internet. The google.com domain provides the Google core service named Google Search and other services as subdomains. In this tutorial, we will examine how to ping Google with its domains, sub-domains, and services.
Ping google.com In Windows
Google.com is Google’s main domain where a lot of services are provided via. The ping is the process of sending requests or packets to get responses. If the remote system is up and responds properly to the request the ping will be successful. All major Windows operating systems like Windows 7, Windows 8, Windows 10, Windows Server provides the ping command. This ping command can be also used to ping google.com like below.
> ping google.com
The output will be like below. The ping command will send 4 ping packets and shows response or output.
Pinging google.com [220.127.116.11] with 32 bytes of data: Reply from 18.104.22.168: bytes=32 time=45ms TTL=128 Reply from 22.214.171.124: bytes=32 time=45ms TTL=128 Reply from 126.96.36.199: bytes=32 time=45ms TTL=128 Reply from 188.8.131.52: bytes=32 time=45ms TTL=128 Ping statistics for 184.108.40.206: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 45ms, Maximum = 45ms, Average = 45ms
Ping google.com via IPv6 In Windows
IPv6 is the next-generation IP protocol to replace IPv4. Google provides the ipv6.google.com domain which only serves over an IPv6 address. In Windows, the ping command can be used to ping test the ipv6.google.com domain for the IPv6 ping test.
> ping ipv6.google.com
The ping to the ipv6.google.com will return the following results and statistical information. As we can see that the ipv6.google.com domain is served over 2a00:1450:8003::93 IPv6 address.
Pinging ipv6.l.google.com [2a00:1450:8003::93] with 32 bytes of data: Reply from 2a00:1450:8003::93: time=31ms Reply from 2a00:1450:8003::93: time=29ms Reply from 2a00:1450:8003::93: time=30ms Reply from 2a00:1450:8003::93: time=32ms Ping statistics for 2a00:1450:8003::93: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 29ms, Maximum = 32ms, Average = 30ms
Ping Google Search UK (United Kingdom)
As a global company, google provides a custom-made search experience and searches websites according to the region and country. The UK (United Kingdom) is provided via the webserver
google.co.uk . We can ping the “google.co.uk” with the ping command like below.
> ping google.co.uk
Ping google.com In Linux (Ubuntu, Mint, Kali) and MacOSX
The popular Linux distributions like Ubuntu, Mint, Debian, Kali, CentOS, RHEL, SUSE provide the ping command. The ping command can be used to ping google.com. The Linux ping command is a bit different from the Windows ping where the Linux ping will work continuously but Windows ping will only send 4 requests.
$ ping google.com
The output will be like below.
PING google.com (220.127.116.11) 56(84) bytes of data. 64 bytes from fra16s42-in-f14.1e100.net (18.104.22.168): icmp_seq=1 ttl=128 time=45.8 ms 64 bytes from fra16s42-in-f14.1e100.net (22.214.171.124): icmp_seq=2 ttl=128 time=45.6 ms 64 bytes from fra16s42-in-f14.1e100.net (126.96.36.199): icmp_seq=3 ttl=128 time=45.5 ms 64 bytes from fra16s42-in-f14.1e100.net (188.8.131.52): icmp_seq=4 ttl=128 time=45.6 ms 64 bytes from fra16s42-in-f14.1e100.net (184.108.40.206): icmp_seq=5 ttl=128 time=45.8 ms 64 bytes from fra16s42-in-f14.1e100.net (220.127.116.11): icmp_seq=6 ttl=128 time=45.7 ms
The Linux operating system provides the ping6 for the IPv6. Alternatively, the ping command with the -6 option can be used to ping Google with an IPv6 address.
$ ping6 ipv6.google.com
The following output will be returned from the Google IPv6.
PING6(56=40+8+8 bytes) 2001:db8:100:603e:e554:e63:3494 --> 2a00:1450:8003::69 16 bytes from 2a00:1450:8003::69, icmp_seq=0 hlim=55 time=30.915 ms 16 bytes from 2a00:1450:8003::69, icmp_seq=1 hlim=55 time=31.042 ms 16 bytes from 2a00:1450:8003::69, icmp_seq=2 hlim=55 time=31.695 ms --- ipv6.l.google.com ping6 statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 30.915/31.217/31.695/0.342 ms
Ping google.com In MacOSX
The MacOSX operating system also provides the ping google.com functionality from the command line with the ping command and GUI from the Network Utility. For command-line use the following command to ping google.com
$ ping google.com
For GUI we will use the Network Utility from the Go tab. Then we will navigate to the Ping tab where we will see a screen that provides the network address of the ping. Specify the ping count but alternatively, we can prefer continuous ping. In order to start the ping test click the Ping button.
Ping Google Via IP Address
Google has a lot of IP addresses used for different Google services in different countries and regions. We can get the Google IP address by using the
nslookup command and then ping the IP address directly without using the domain and hostname.
$ nslookup google.com
The IP address of Google is displayed in the
Address: line. The Google IP address for this case is
$ ping 18.104.22.168
Ping Google Cloud
Google provides Cloud Services similar to Amazon and Microsoft Azure. These cloud services are mainly provided via the
cloud.google.com command. We can ping these cloud services related Google domain like below.
$ ping cloud.google.com
Google Ping Test Error Messages
For all previous examples in this tutorial, the ping returned response as a successful operation. But this is not always the case. Sometimes pinging Google may return errors and related error messages. Below we list some error messages related to the Google ping test.
- “Request timed out” – either your network/internet connection is faulty
- “Ping request could not find host www.google.com … etc” – you pinged an incorrect website name or there is a DNS fault