Ping spikes while pinging gateway server IP.

nishantt6969

I got banned!
Messages
1,859
Location
Ayodhya
ISP
Airtel Xstream Fiber (300Mbps)
Router : RPi-4B (OpenWrt), TP-Link A6 (AP)
I generally get 7-8ms ping to my assigned Gateway IP and the ping fluctuates a lot, spikes to 60ms, sometimes 100ms. I have lived in two cities which have the same gateway(BRAS-lko2) but this issue was there as well and its been since long time, 2 years. Can you guys post pings to your gateway for 5minutes interval with ethernet cable? @Lolita_Magnum @Chip
 
Bro why do you assume that ping times are not variable? The key thing to remember is the very nature of the internet is dynamic with home connections having shared bandwidth (contention ratios), variable bandwidth usage among other things. You can't hold a provider to a certain ping time to a certain piece of equipment or IP. That's just the way it works.

That said, I'll share the ping times to my gateway. But because mine is a static IP and my gateway is tied to it (or vice versa) I will have to blank out of a part of the address.
 
@Chip sure bro, waiting for it.
Ping statistics for 122.169.33.1:
Packets: Sent = 300, Received = 300, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 6ms, Maximum = 77ms, Average = 9ms
 
Here you go it varies between 5-14 ms...tried for <1 min. Will I break my head over the variance in ms? No way 🙂

Code:
C:\Users\>ping <gateway> -t

Pinging gateway with 32 bytes of data:
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=6ms TTL=63
Reply from bytes=32 time=9ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=10ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=10ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=8ms TTL=63
Reply from bytes=32 time=6ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=10ms TTL=63
Reply from bytes=32 time=6ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=6ms TTL=63
Reply from bytes=32 time=6ms TTL=63
Reply from bytes=32 time=8ms TTL=63
Reply from bytes=32 time=6ms TTL=63
Reply from bytes=32 time=6ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=5ms TTL=63
Reply from bytes=32 time=5ms TTL=63
Reply from bytes=32 time=5ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=5ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=12ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=5ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=6ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=5ms TTL=63
Reply from bytes=32 time=6ms TTL=63
Reply from bytes=32 time=6ms TTL=63
Reply from bytes=32 time=5ms TTL=63
Reply from bytes=32 time=6ms TTL=63
Reply from bytes=32 time=14ms TTL=63
Reply from bytes=32 time=8ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=7ms TTL=63
Reply from bytes=32 time=9ms TTL=63
Reply from bytes=32 time=6ms TTL=63
Reply from bytes=32 time=5ms TTL=63

Ping statistics for <gateway>
    Packets: Sent = 53, Received = 53, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 5ms, Maximum = 14ms, Average = 7ms
 
Last edited:
Ping statistics for 110.226.143.255:
Packets: Sent = 300, Received = 298, Lost = 2 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 3ms, Maximum = 63ms, Average = 7ms
It is noted that during the time of testing, the internet connection was under a general load of about 90%.

The same is now on 100% load.
Ping statistics for 110.226.143.255:
Packets: Sent = 300, Received = 300, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 3ms, Maximum = 38ms, Average = 7ms
TL;DR icmp is really not a good way to test the quality of an internet connection, especially an ISP gateway that might be configured to treat it as a low priority.
 
Last edited:
@Lolita_Magnum can you explain your last statement in bit less technical terms? 😞
 


The airtel gateway ie. the routers usually have mitigation and firewall that is put in place in order to make sure bad actors do not DDOS it, which will relatively cause poor performance for everyone else.
Hence, usually, these routers have a tier list according to which they put priority numbers on packets based on what kind of traffic is routing or intercepting kind off like how QOS works.
So, if ICMP is very low on the priority list, the CPU will only respond to it only when it has free CPU time or has idle usage.
 

Back