FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
Pedro_FTNT
Staff
Staff
Article Id 278979
Description

This article describes that it is sometimes necessary to send multiple PINGs, and multiple ICMP packages by using 'ping-options repeat-count' but it could take a long time to finish.

To solve it, FortiGate has a new option named: 'adaptive-ping enable' to do a 'Fast PING'. Using this option will send the same ICMP packages more quickly.

Scope FortiGate.
Solution

Example to use 'adaptive-ping enable' to send 50 ICMP packages:

 

  • With normal ping, using 'repeat-cout':

 

exe ping-options repeat-count 50
exe ping 8.8.8.8

64 bytes from 8.8.8.8: icmp_seq=0 ttl=58 time=5.0 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=58 time=4.9 ms
.
.
.

64 bytes from 8.8.8.8: icmp_seq=49 ttl=58 time=4.9 ms

--- 8.8.8.8 ping statistics ---

50 packets transmitted, 50 packets received, 0% packet loss
round-trip min/avg/max = 4.8/5.0/7.0 ms

 

  • Using WireShark to see time:

 

12.png

 

  • 50 seconds to complete the shipment of 50 packages:

 

14.png

 

  • Using 'adaptive-ping enable':

 

exe ping-options adaptive-ping enable
exe ping-options repeat-count 50
exe ping 8.8.8.8

PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=58 time=5.1 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=58 time=4.9 ms
.
.
.

64 bytes from 8.8.8.8: icmp_seq=49 ttl=58 time=4.9 ms

--- 8.8.8.8 ping statistics ---
50 packets transmitted, 50 packets received, 0% packet loss
round-trip min/avg/max = 4.8/5.0/9.9 ms

 

13.png

 

  • 1 second to complete the shipment of the same 50 packages:

 

15.png

 

  • To know about more options to do a PING refer to:

Troubleshooting Tip: Using PING options from CLI

Troubleshooting Tip: Using PING options from the FortiGate CLI

Contributors