ping |
Tests TCP/IP connectivity with a remote host.
ping [-t] [-a] [-n number ] [-l bytes ] [-f] [-i TTL ] [-v TOS ] [-r number ] [-s hops ] [ [-j hostlist ] [-k hostlist ] ] [-w msec ] host [...]
Continues pinging the host until interrupted using Ctrl-C.
Resolves IP addresses to hostnames.
Specifies the number of ICMP ECHO packets to send. (The default is four packets.)
Indicates number of bytes in each ECHO packet. (The default is 32 bytes, and the maximum is 65,527 bytes.)
Sets the Do Not Fragment flag in the packets to prevent them from being fragmented by routers along the route.
Sets the time-to-live field in the packets.
Sets the Type of Service field in the packets.
Records the route of the outgoing packet and the returning packet in the Record Route field. (The minimum number of hosts you can specify is one, and the maximum is nine.)
Specifies the timestamp for the number of hops specified by number.
Routes packets using the specified list of remote hosts (up to nine). Consecutive hosts can be separated by intermediate gateways (loose source routing).
Routes packets using the specified list of remote hosts (up to nine). Consecutive hosts can't be separated by intermediate gateways (loose source routing).
Specifies timeout interval in milliseconds .
Indicates IP address or hostname of remote host(s) being ping ed.
ping a remote host:
ping www.gov.mb.ca Pinging www.gov.mb.ca [198.163.12.46] with 32 bytes of data: Reply from 198.163.12.46: bytes=32 time=140ms TTL=250 Reply from 198.163.12.46: bytes=32 time=130ms TTL=250 Reply from 198.163.12.46: bytes=32 time=120ms TTL=250 Reply from 198.163.12.46: bytes=32 time=110ms TTL=250 Ping statistics for 198.163.12.46: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 110ms, Maximum = 140ms, Average = 125ms
By default, ping sequentially sends four 32-byte ICMP ECHO packets to the remote host and waits one second for a reply.
If you can ping the remote host by IP address but not by hostname, there is probably a DNS problem.
pathping , TCP/IP , tracert