cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
329
Views
4
Helpful
4
Replies

Ping and IP question

imransara
Level 1
Level 1

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

1) You ping an ip address (192.168.2.5/30)please specify protocols other than ICMP

2) You sent an IP packet to an ip address(192.168.3.25/24)

4 Replies 4

paul.matthews
Level 5
Level 5

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.......

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?

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.

Thank you very much.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: