Ping and IP question

Unanswered Question
Sep 28th, 2007

Does any body know which protocols are used in the following cases??

1) You ping an ip address ( specify protocols other than ICMP

2) You sent an IP packet to an ip address(

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
paul.matthews Fri, 09/28/2007 - 11:32

That is a rather open, vague question!

Protocols involved will depend upon the media, and what has happened previously. A ping on a LAN, with no prior traffic will involve an ARP request/response then an ethernet packet containing an IP packet which will contain the ICMP Echo.

Sending an IP packet - well, there are lots of things here! Again assuming ethernet, it may be preceded by ARP and then be an ethernet packet containing an IP packet containing whatever higher level protocol is involved - TCP/UDP/RTP etc They in turn can contain DNS, Telent, FTP, NFS HTTP etc.......

imransara Sat, 09/29/2007 - 12:24

Thank you very much for the response.

One more thing, don't you think DHCP (RARP or BOOT P) will also be required since one needs to know about onself before sending a ping or anyother IP packet?

paul.matthews Sat, 09/29/2007 - 21:53

DHCP et all may be involved or the device may be statically configured. Once you start going back that far you are stretching the "what happens when I ping?" question a bit, and leaves it open to how far back do you go? you plug the device into the network? do you go to a bunch of guys at the DoD talking?

I would normally class ARP as being the start point, as at that point the device is connected and ready to send. ARP is also more likely to need to happen if the device has just been idle for a while - DHCP will normally be maintained even with nothing to send, ARP is allowed to time out.


This Discussion