How the PING Command Works in ChromeOS

Summary: This article describes how the PING command works in ChromeOS.

Ez a cikk a következő(k)re vonatkozik: Ez a cikk nem vonatkozik a következő(k)re: Ez a cikk nem kapcsolódik egyetlen konkrét termékhez sem. Ez a cikk nem azonosítja az összes termékverziót.

Instructions

The PING command is a standard command for testing network connectivity and quality. In Chrome, PING behaves more like it does in Linux than in Windows.
 

Ping command options

Open a Chrome Shell (CROSH) terminal by pressing Ctrl + Alt + T. The command is the same.  Type: ping <hostname or IP address> then press the Enter key
 

Note: Unlike Windows, using the ping command without any flags or options causes it to repeatedly ping the specified IP address. You must press Ctrl + C to stop the command, and there are no instructions displayed on the screen explaining this. 


After you stop the ping command this way, it does not display any statistics on dropped packets.

Ping –c is more useful. It lets you specify how many times to ping the specified IP address. After completing, it does display statistics. A high percentage of dropped packets may indicate noise on the network. Attempts to ping addresses outside your network may be blocked by firewalls. Example:  ping -c 6 google.com then press the Enter key.

SLN288684_en_US__21391025419582.chromebook-ping-command

Tracepath is similar to ping, but it gets replies from each gateway along the route. Again, firewalls may block responses to this command when the address is outside of the network. Tracepath works the same as the Windows tracert command. tracepath "URL you want to trace to" then press the Enter key.  See the example below:

SLN288684_en_US__31391025446301.tracepath-chrome-os

Both ping and tracepath can be used with host or domain names. This can be useful for determining if networking issues are caused by domain name resolution. If you can ping an address, but you cannot ping the host/domain name, then this would point to a problem with your DNS or proxy server.

Last we have the network diagnostic function. network_diag tests the connectivity of your network connection.

SLN288684_en_US__41391025471739.chrome-os-network_diag

All CROSH windows can be closed by typing EXIT and pressing the Enter key. 

Érintett termékek

Chromebook, Chromebook 11, Chromebook 3120 (End of Life)
Termék tulajdonságai
Article Number: 000145483
Article Type: How To
Utoljára módosítva: 17 dec. 2024
Version:  5
Választ kaphat kérdéseire más Dell-felhasználóktól
Támogatási szolgáltatások
Ellenőrizze, hogy a készüléke rendelkezik-e támogatási szolgáltatással.