Question:
For a host connected to the Internet what does a ‘ping’ test show?
Anonymous
2014-05-27 10:14:45 UTC
DISCLAIMER: This is NOT homework

Question

For hosts connected to the Internet what does a ‘ping’ test show?:
a) Whether hosts are on the same network
b) The number of routers between hosts
c) Whether a physical connection exists between hosts
d) The physical distance between host
Four answers:
2014-05-27 10:15:58 UTC
C.



TECHNICALLY: Although that's not really true... I can disable Ping on my host which can seem I'm not available but other services will work so I am available just not via IMCP protocol.
?
2014-05-27 10:55:58 UTC
Depends what you mean by "physically". If ping works, it shows that there must be a working IP route between the two machines - whether by wire, or wireless, or optical fibre or even in the absurd case, avian carrier.

If it doesn't work, it might be firewalled somewhere, e.g. the far end on Windows (despite an RFC saying that ping replies are mandatory).

When it does work, the round-trip time puts an upper limit on physical distance since packets can travel only at the speed of light. But due to congestion, it may take longer than that.





If it works, the hosts are on the same network (e.g. the internet). Not necessarily the same LAN, but they can't be on two different private networks.



Not (b) - although, that's not even true. Ping has a "record route" option that works between some pairs of hosts - I just tried it.



QoS and shaping may mean that ICMP (ping) packets don't travel at the same rate through routers as other IP packets such as TCP, so a ping time isn't even always a reliable metric of network performance.
ARAVIND
2014-05-27 10:37:43 UTC
a) Ping can't check hosts are on same network

b) Ping is done with an address , the command doesn't know whether it is pinging to a server or router or NAS

C)This is the answer , if there is no physical connection ping won't work , ping directly request the remote ip hosts to give response, ping can work both on lan and wan ,you can ping google facebook

d)ping can't measure physical distances , case of electromagnetic signals travel the speed of light and how it calculate :) just 100 metres or 1000 metres or more





there are sub commands for ping ,





-t Pings the specified host until stopped.

To see statistics and continue - Type Control-Break;

To stop - press Ctrl + C.

-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 (IPv4-only).

-i TTL Time To Live.

-v TOS Type Of Service (IPv4-only. This setting has been deprecated and has no effect on the type of service field in the IP Header).

-r count Record route for count hops (IPv4-only).

-s count Timestamp for count hops (IPv4-only).

-j host-list Loose source route along host-list (IPv4-only).

-k host-list Strict source route along host-list (IPv4-only).

-w timeout Timeout in milliseconds to wait for each reply.

-R Use routing header to test reverse route also (IPv6-only).

Per RFC 5095 the use of this routing header has been deprecated. Some systems may drop echo requests if this header is used.

-S srcaddr Source address to use.

-4 Force using IPv4.

-6 Force using IPv6.
Christian
2014-05-27 10:16:30 UTC
D



Ping means how many packages are lost on the way distance between can make the loss larger.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...