Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Question on Ping...?

IF i have host A and B.

Host A- and HostB

Connected by cross cable or HUB.

When i ping from A to B for what will be the content in ARP request ?

and if Host B reply then A should ping to it ?


Re: Question on Ping...?

Hi Ganpat,

Both host should be able to ping each other if there is no firewall.

The below line of yours " When i ping from A to B for what will be the content in ARP request ? " is lil confusing


S. Shantharam

Re: Question on Ping...?


the ARP request will contain source MAC of A and destination MAC all FF (broadcast) and in the ARP packet source MAC (A), dest. MAC all 0, source IP destination IP

Be aware, that before this happens IP routing in the hosts needs to be configured correctly (check f.e. with "route print" in MS). If host A has no default gateway or routing table entry for then no ARP will be issued. The easiest option will be to set default gateway on both A and B to their own IP address.

Regarding your ICMP (ping) question: the ping command creates an ICMP echo request message and the receiver will reply with an ICMP echo reply message (if not blocked f.e. by firewall).

Hope this helps! Please use the rating system.

Regards, Martin

New Member

Re: Question on Ping...?

Thanks for reply.

If i not configured host with default gateway and no extra routing confi on host(Only ip address are given).

In this situation A will chkk arp chahe and then send ARP request/broadcast to

for this B will reply..........with MAC address........

is it ?

(Is there any thing like ARP broadcast will not goes into antother subnet ?)

Re: Question on Ping...?


first IP routing takes place in host A, if you ping host B. If from the host A routing table ("route print") the destination is not known (at least through default gateway), then immediately a "destination unreachable" message is issued and no further action is taken. No connectivity, no frames/packets created.

Hope this helps!

Regards, Martin

Re: Question on Ping...?

When Host A ping Host B, an ARP request is sent at the same time from Host A to Host B. Host A will receive an ARP reply from Host B (even if Host A didn't get and ICMP reply from Host B) no matter what as long as there is a connection. Host A's ARP table will contain the IP Address and MAC address of Host B