PING Commands: Computer System Servicing
PING Commands: Computer System Servicing
PING Commands: Computer System Servicing
JMLT
The ping command helps to
verify IP-level connectivity.
When troubleshooting, you
can use ping to send an ICMP
echo request to a target host
name or IP address.
Use ping whenever you need to verify that a host computer can
connect to the TCP/IP network and network resources. You can
also use ping to isolate network hardware problems and
incompatible configurations.
JMLT
Command Function
ping 127.0.0.1 Ping the loopback address to verify that
TCP/IP is configured correctly on the local
computer.
ping IP_of_local_host Ping the IP address of the local computer
to verify that it was added to the network
correctly.
ping IP_of_default_gateway Ping the IP address of the default gateway
to verify that the default gateway is
functioning.
ping IP_of_remote_host Ping the IP address of a remote host to
verify that you can communicate through a
router.
JMLT
Useful ping command options
Option Use
-n Count Determines the number of echo requests to send. The
default is 4 requests.
-w Timeout Enables you to adjust the timeout (in milliseconds). The
default is 4,000 (a 4-second timeout).
-l Size Enables you to adjust the size of the ping packet. The
default size is 32 bytes.
-f Sets the Do Not Fragment bit on the ping packet. By
default, the ping packet allows fragmentation.
/? Provides command Help.
JMLT
JMLT
The following example illustrates how to send two pings, each
50 bytes in size, to IP address 192.168.100.5:
JMLT
By default, ping waits 4,000 milliseconds (4 seconds) for each
response to be returned before displaying the "Request Timed Out"
message.
JMLT
A response of "Destination net unreachable" means there was
no route to the destination.
JMLT
Ping –a (Resolves addresses to hostnames if possible)
No –a
option
JMLT
Send 5 ICMP echo message to Desktop 1
with 150 bytes of data.
1 JMLT
2 3 4 5
https://technet.microsoft.com/en-us/library/cc732509(v=ws.10).aspx
http://ipcisco.com/wp-content/uploads/Ping/ping_topology_2.jpg
JMLT