Skip to main content

Ping - Command

Ping.....

Ping is one of the usefull and effective command in determine network test connectivity with another IP host. Typing PING followed by specific IP address at command prompt will immediately tell whether there is connectivity between your computer and the other host.
Ping test is often referred as testing the protocal stack, because the ping command moves from Layer 3 OSI model to Layer 2 and then Layer 1. Ping uses the ICMP protocol to check for connectivity.
Please note...ping will not always pinpoint the exact of the problem in the network, but it can help identify the source of the problem, one of important first step in network troubleshooting.

Ping command
There are also a number of options that you can use with the PING command. The available options are listed below.

-t Pings the specified host until stopped
-a Resolves addresses to hostnames
-n count Number of echo requests to send
-l size Send buffer size
-f Set Don’t Fragment flag in packet
-i TTL Time To Live
-v TOS Type of Service
-r count Record route for count hops
-s count Timestamp for count hops
-j host-list Loose source route along host-list
-k host-list Strict source route along host-list
-w timeout Timeout in milliseconds to wait for each reply

You can always find out more about a specific command by typing the command at the command prompt followed by “/?”.


Ping Indicators
A ping will yield to one several indicators for each ICMP echo that was sent. The most common indicators are :
!  - receipt of ICMP echo replay
.  - timed out while waiting for a replay
U- unreachable message was received

The "!" (exclamation mark) indicates that the ping completed successfully and verifies Layer 3 connectivity.

The "." (period) can indicate problems in the communication. It may indicate connectivity problem occurred somewhere along the path. It also may indicate a router along the path did not have a route to the destination and did not send an ICMP destination unreachable message. It also may indicate that ping was blocked by device security. 

The "U" indicates that a router along the path did not have a route to the destination address and responded with an ICMP unreachable message.

example :
Enter the ping loopback command with this syntax:

C:\>ping 127.0.0.1

The reply from this command would look something like this:

Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

The result indicates that four test packets were sent - each 32 bytes in size - and were returned from host 127.0.0.1 in a time of less than 1 ms. TTL stands for Time to Live and defines the number of hops that the ping packet has remaining before it will be dropped.

Comments

Popular posts from this blog

Satellite Communication : Transmission Bands

A satellite link is a radio link between a transmitting earth station and receiving earth station through a communications satellite. A satellite link consists of one uplink and one downlink; the satellite electronics (i.e., the transponder) will remap the uplink  frequency to the downlink frequency. The transmission channel of a satellite system is a radio channel using a direct-wave approach, operating in at specific RF bands within the overall electromagnetic spectrum as seen below : The table below shown some key of physical parameters of relevance to satellite communication,  The frequency of operation is in the super high frequency (SHF) range (3-30 GHz). Regulation and practice dictate the frequency of operation, the channel bandwidth, and the bandwidth of the subchannels within the larger channel. Different frequencies are used for the uplink and for the downlink. Frequencies above about 30 MHz can pass through the ionosphere and

Satellite Communication - Part 4 (CPI)

Cross Polar Isolation (CPI) In installation and pointing/peaking antenna, Orthogonal Mode Transducer (OMT) must be set to be as precise as possible to get the best CPI value. above is picture of OMT Feed assembly include with BUC and LNB The minimum value for CPI is 30 dB (better will be good) in Linier Polarized Antennas. The reason is for our receive (Rx)-side as not to get interferenced (distrubed) by other (polarity) Down-Link users, therefore our transmit (Tx) shoild as well not interfere other users that operates at 90 deg (Orthogonal) Polarization. Note : In LH/RH Circular Polarizations, usually CPI of 27dB (=AR of 1.09) is acceptable enough. picture above is careless/miss-aligned OMT setting

Satellite Communication - Part 1

In this occasion, i want to share about Satellite communication. First, please look at the picture below, Planets of our Solar System God created Moon as our Earth satellite. In order to broading our communication, people tend to use artificial satellite for communication. Based on orbits, these are the type of satellites : Low Earth Orbit (LEO)              Height : 750-2500 Km,       Period : 2 - 2.5 hours Medium Earth Orbit (MEO)       Height : 7500-10000 Km,   Period : 4.5 - 6 hours High Earth Orbit (HEO)             Height : 15000-20000 Km, Period : 11-12 hours Geo-Stationary Orbit (GSO)      Height : 36000 Km,             Period : 24 hours Incline Orbit Satellite (drifting > 0.1 deg. N-S and E-W) Polar (mostly very eliptical) orbit satellite "in this purpose of satellite communication, I will focus in Geo-Stationary Orbit (GSO)" If we talk about GSO, we must mention this name, Arthur C. Clarke, a Science-Fictionist, which wrote : "a Satellite