PING Commands: Computer System Servicing

Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

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.

ICMP: Internet Control Message Protocol


TCP/IP: Transmission Control Protocol/Internet
JMLT Protocol
Ping commands used to diagnose network
connectivity

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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy