PELUANG USAHA 2016 !!!|*|DUITBUX|*|Program PTC nyari duit di internet|

Thursday, December 6, 2012


PING is used to test TCP/IP connectivity with another host and gives information about the length of time test data takes to be sent to the host and a reply received.

Its most basic use is as follows:
Pinging with 32 bytes of data:
Reply from bytes=32 time=10ms TTL=252
Reply from bytes=32 time<10ms br="br" ttl="252"> Reply from bytes=32 time<10ms br="br" ttl="252"> Reply from bytes=32 time<10ms ttl="252</tt">

From the above you can see it send 32 bytes to host and each time a reply was received in 10ms or less, this shows a good connection.

PING does have a number of option parameters to accomplish different objectives.
ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS] [-r count] [-s count] [-k host-list [-w timeout] destination-list
-t Ping the specifed host until interrupted.
-a Resolve 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.
In Windows 2000 you can press Ctrl-Break when running the -t option for a list of statisitics. Press Ctrl-C to actually stop the ping.
It can be useful to have a small batch file ping various hosts and terminal servers at regular intervals to ensure all are still present (although there are commercial software packages that do this). A simple command like:

C:\>ping -f -n 1 -l 1
Pinging with 1 bytes of data:
Reply from bytes=1 time<10ms ttl="128</tt">
pings a host once with one byte of data.

*sumber :

contoh ping untuk menstabilkan koneksi, ping ke DNS server dengan 1 byte data :

 C:\>ping -t -l 1

Random Posts


Blog Archive