Web info-x
   
THIS SITE IS FOR SALE
 
 
Tutorials
 Info-x : Info-x Tutorials and Documents : Tutorials
Message Icon Topic: A Brief Look At: Ping Post Reply Post New Topic
Author Message
deej
Admin Group
Admin Group


Joined: 22 Nov 1997
Online Status: Offline
Posts: 3
Quote deej Replybullet Topic: A Brief Look At: Ping
    Posted: 14 Dec 2004 at 16:19
Description:

Executed from the DOS command prompt.



Many people mistakenly think of 'ping' as just a destructive tool. This is not
the case. Although the TCP/IP ping utility can be abused in a way that is commonly
termed 'Ping Of Death' or an 'ICMP Flood', it's original and most commonly used
purpose is as a verification tool.



The ping command verifies connections to remote computer or computers, by sending
ICMP echo packets to the computer and listening for echo reply packets. Ping
waits for up to 1 second for each packet sent and prints the number of packets
transmitted and received. Each received packet is validated against the transmitted
message. By default, four echo packets containing 32 bytes of data (a periodic
upper case sequence of alphabetic characters) are transmitted.



You can use the ping utility to test both the computer name and the IP address
of the computer. If the IP address is verified but the computer name is not,
you may have a name resolution problem. In this case, be sure that the computer
name you are querying is in either the local HOSTS file or in the DNS database.



Parameters:







































































































ping [-t] [-a] [-n count] [-l
length] [-f] [-i ttl] [-v tos] [-r count] [-s
count] [[-j computer-list] | [-k computer-list]] [-w
timeout] destination-list
     
  -t Pings the specified computer until interrupted.
  -a Resolve addresses to computer names.
  -n count Sends the number of ECHO packets specified by count. The default
is 4.
  -l length Sends ECHO packets containing the amount of data specified
by length. The default is 64 bytes; the maximum is 8192.
  -f Sends a Do not Fragment flag in the packet. The packet will
not be fragmented by gateways on the route.
  -ittl Sets the Time To Live field to the value specified by ttl.
  -v tos Sets the Type Of Service field to the value specified by tos
  -r count Records the route of the outgoing packet and the returning
packet in the Record Route field. A minimum of 1 and a maximum of 9 computers
may be specified by count.
  -s count Specifies the time stamp for the number of hops specified
by count.
  -j computer-list Routes packets via the list of computers specified by computer-list.
Consecutive computers may be separated by intermediate gateways (loose source
routed). The maximum number allowed by IP is 9
  -k computer-list Routes packets via the list of computers specified by computer-list.
Consecutive computers may not be separated by intermediate gateways (strict
source routed). The maximum number allowed by IP is 9.
  -w timeout Specifies a timeout interval in milliseconds.
  destination-list Specifies the remote computers to ping.


Example:







C:\\>ping -a 195.224.74.3



  Pinging ns1.avnet.co.uk [195.224.74.3] with 32 bytes of data:



  Reply from 195.224.74.3: bytes=32 time=190ms TTL=245

  Reply from 195.224.74.3: bytes=32 time=40ms TTL=245

  Reply from 195.224.74.3: bytes=32 time=150ms TTL=245

  Reply from 195.224.74.3: bytes=32 time=160ms TTL=245






 

IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Bulletin Board Software by Web Wiz Forums version 8.04
Copyright ©2001-2006 Web Wiz Guide

This page was generated in 0.031 seconds.
  Log in  
User:
Pass:
Remember Me:
Register
Forgot Password
  Christmas Gifts  

Bar Gifts
Xmas Gifts for Him
Xmas Gifts for Dads
Gadgets and Gizmos
Sporting Gifts
Games
Unique Lifestyle Gifts
Geek Gifts
iPod Mains Charger More Gadgets

THIS SITE IS FOR SALE
Sedo - Buy and Sell Domain Names and Websites project info: info-x.co.uk Statistics for project info-x.co.uk etracker® web controlling instead of log file analysis