Skip to main content
johnlloyd_13
Explorer III
February 4, 2025
Solved

Difference in ICMP and Ping Service

  • February 4, 2025
  • 1 reply
  • 1438 views

hi,

i'm trying to configure a new FW policy and just wanted to know the difference between ICMP and Ping service.

1.which is best practice to use/choose?

2.if i need to clone/edit a custom ping or icmp service, i.e. echo reply, which service do i use/edit (icmp vs ping)?

3.what is also the difference between the "traceroute" service vs the custom ping "time exceeded" (type:11,code:0).

Best answer by dingjerry_FTNT

Hi @johnlloyd_13 ,

 

A simple and quick answer is:  ICMP is a protocol, and Ping is a utility or command line tool using the ICMP protocol.

 

Here is the full list of all ICMP types and codes:

 

https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml

 

1.which is best practice to use/choose?

 

For Ping, you can apply either ICMP or Ping services.  Both are predefined ones on FGT.

 

I would recommend you use ICMP if you are allowing or denying other ICMP based services, such as tracert, pathPing, Hping, and so on.

 

2.if i need to clone/edit a custom ping or icmp service, i.e. echo reply, which service do i use/edit (icmp vs ping)?

 

You may clone the Ping service object and modify it.  You can get the ICMP type and code info from the link I provided above.

 

3.what is also the difference between the "traceroute" service vs the custom ping "time exceeded" (type:11,code:0).

 

If you check the link I provided above, you will find:

 

traceroute (Linux command) or tracert (Windows command):  ICMP type 30 and you may leave code blank

 

dingjerry_FTNT_1-1738641466784.png

 

"time exceeded" : ICMP type 11 and code 0

dingjerry_FTNT_0-1738641380297.png

 

 

 

 

 

1 reply

dingjerry_FTNT
Staff
Staff
February 4, 2025

Hi @johnlloyd_13 ,

 

A simple and quick answer is:  ICMP is a protocol, and Ping is a utility or command line tool using the ICMP protocol.

 

Here is the full list of all ICMP types and codes:

 

https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml

 

1.which is best practice to use/choose?

 

For Ping, you can apply either ICMP or Ping services.  Both are predefined ones on FGT.

 

I would recommend you use ICMP if you are allowing or denying other ICMP based services, such as tracert, pathPing, Hping, and so on.

 

2.if i need to clone/edit a custom ping or icmp service, i.e. echo reply, which service do i use/edit (icmp vs ping)?

 

You may clone the Ping service object and modify it.  You can get the ICMP type and code info from the link I provided above.

 

3.what is also the difference between the "traceroute" service vs the custom ping "time exceeded" (type:11,code:0).

 

If you check the link I provided above, you will find:

 

traceroute (Linux command) or tracert (Windows command):  ICMP type 30 and you may leave code blank

 

dingjerry_FTNT_1-1738641466784.png

 

"time exceeded" : ICMP type 11 and code 0

dingjerry_FTNT_0-1738641380297.png

 

 

 

 

 

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!