Solved

What protocol does Ping uses TCP or UDP

Posted on 2010-11-14
9
14,343 Views
Last Modified: 2013-11-12
What protocol does Ping uses.
Is it TCP or UDP ?
0
Comment
Question by:SrikantRajeev
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 2

Expert Comment

by:prhowe
ID: 34133452
Neither really.  Ping uses Internet Control Message Protocol (ICMP).

This explains it rather well.
0
 
LVL 2

Expert Comment

by:prhowe
ID: 34133454
http://www.experts-exchange.com/expertsZone.jsp

the link didn't come across, sorry..

0
 
LVL 1

Author Comment

by:SrikantRajeev
ID: 34133460
U mean ICMP does not use either of TCP or UDP
0
 
LVL 35

Expert Comment

by:mccarl
ID: 34133524
> U mean ICMP does not use either of TCP or UDP

No it doesn't. ICMP (ping), TCP and UDP are all protocols that layer on top of IP but are independent of each other.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 1

Author Comment

by:SrikantRajeev
ID: 34133627
so is ICMP connection oriented protocol or connection less
0
 
LVL 35

Expert Comment

by:mccarl
ID: 34133684
You wouldn't really call it either but it would be closer to a connection-less protocol like UDP. But it isn't used to carry data as such, it is used to report a condition (possibly an error condition). Check out ICMP on wikipedia: http://en.wikipedia.org/wiki/Internet_Control_Message_Protocol
0
 
LVL 12

Expert Comment

by:profgeek
ID: 34135873
ICMP runs alongside IP on the network layer, whereas UDP and TCP are stacked on top of IP on the transport layer.

See the following reference (an excellent site for referencing all protocols):

http://www.protocols.com/pbook/tcpip1.htm

0
 
LVL 35

Accepted Solution

by:
mccarl earned 500 total points
ID: 34136014
> ICMP runs alongside IP on the network layer

I understand that ICMP may be implemented in the network layer, but it still relies upon IP (ie. stacked on top of) just the same as TCP and UDP are.

The IP header has a field called 'Protocol' that specifies ICMP (1), TCP (6) or UDP (17) among others and the IP payload then contains a header for either ICMP, TCP or UDP, etc. Hence why it is technically stacked on top of IP even though practically it would be implemented alongside IP.
0
 
LVL 1

Author Closing Comment

by:SrikantRajeev
ID: 34244790
Thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Non Compliant port group ? 2 60
Controlling which port to download from 4 59
Cannot access folders 5 28
ftp using powershell 11 39
Please see preceding article here: http://www.experts-exchange.com/Networking/Operating_Systems/A_11209-Root-Bridge-Election.html Figure 1 After Root Bridge has been elected, then what?..... Let's start by defining a Root Port in la…
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now