Check Slowness issue..
Also refer to Ping post
ping google.com -n 100Recommended for a more reliable analysis of latency and packet loss.
-
Continuous
ping google.com -t ( high traffic )Sends pings until you stop it by pressing Ctrl + C. Windows will then display the statistics.
Example
ping google.com -n 100
At the end, you'll see output similar to:
Ping statistics for 142.250.xxx.xxx:
Packets: Sent = 100, Received = 100, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 18ms, Maximum = 120ms, Average = 24ms
How to interpret the results
-
Average latency
- <20 ms: Excellent
- 20–50 ms: Very good
- 50–100 ms: Acceptable
-
100 ms: Noticeable slowness for interactive applications
-
Packet loss
- 0%: Ideal
- 1–2%: Minor issue
-
2%: Network problem likely
-
Maximum latency
250 ms to 300 ms - Spikes -
If it's much higher than the average (for example, average 20 ms but maximum 300 ms), it indicates latency spikes (jitter), which can cause lag in video calls, gaming, or VoIP.
🎯 1. Average (AVG) — MOST IMPORTANT
👉 This shows the normal network delay
- Represents typical performance
- Best indicator of real user experience
✔ Example:
min = 10 ms
avg = 25 ms ← ⭐ main value
max = 80 ms
👉 So your network “feels like ~25 ms delay”
> 100 ms not acceptable..
⚠️ 2. Maximum (MAX) — IMPORTANT for problems
👉 This shows worst-case delay spikes
- Helps detect instability
- High max = jitter / congestion / packet delay spikes
✔ Example problem:
avg = 20 ms
max = 300 ms ❌ problem
ping google.com -n 100 -l 1000
- Payload = 1000 bytes
Larger packets take slightly longer to transmit and are more likely to expose issues such as:
- MTU problems
- Packet fragmentation
- Congestion
- Packet loss
For testing LAN Ethernet network :
ping google.com -l 1472
Tests the maximum payload that fits within a standard 1500-byte Ethernet MTU without fragmentation (1472 bytes of ICMP payload + 20-byte IP header + 8-byte ICMP header = 1500 bytes).
When do we use ping -t?
1. Troubleshooting intermittent network issues (Most common)
A user says:
"The internet disconnects every few minutes."
Run:
ping google.com -t
Observe the output:
Reply from 142.250.xxx.xxx: time=22ms
Reply from 142.250.xxx.xxx: time=21ms
Reply from 142.250.xxx.xxx: time=20ms
Request timed out.
Request timed out.
Reply from 142.250.xxx.xxx: time=23ms
This shows the connection is dropping intermittently.
2. Monitoring during cable replacement or network changes
Suppose you're replacing a network cable or changing a switch port.
Keep this running:
ping 192.168.1.1 -t
As soon as the cable is connected correctly, you'll see replies again.
3. Checking Wi-Fi stability
If users complain:
"Wi-Fi disconnects randomly."
Run:
ping 192.168.1.1 -t
If you see:
Reply
Reply
Request timed out.
Reply
Reply
then the wireless connection is unstable.
4. During server reboot or maintenance
Suppose a server is restarting.
Run:
ping 10.10.10.20 -t
You'll see:
Reply
Reply
Request timed out.
Request timed out.
Reply
Reply
This lets you know exactly when the server comes back online.
5. Troubleshooting VPN problems
If the VPN disconnects unexpectedly:
ping 10.20.30.40 -t
You can determine whether the VPN tunnel is dropping by watching for timeouts.
How to stop it?
Press:
Ctrl + C
Windows then displays statistics such as:
Packets: Sent = 250
Received = 248
Lost = 2 (0% loss)
Minimum = 20ms
Maximum = 95ms
Average = 26ms
These statistics help identify packet loss and latency.
Scenario: A user says, "My internet disconnects every 10 minutes."
Troubleshooting steps:
- Open Command Prompt.
-
Run:
ping google.com -t - Ask the user to continue working normally.
- If the issue occurs, check whether you see:
-
Request timed out.→ Possible network outage, ISP issue, or connectivity loss. -
High response times (e.g.,
time=300ms,time=500ms) → Network congestion or latency. -
General failure.→ Local network stack or adapter issue.
When do we use ping -l?
1. Test if the network can handle larger packets
If users report:
- Slow file transfers
- Video call issues
- VPN problems
You can test with larger packet sizes.
Example:
ping google.com -l 1000
If 32-byte packets succeed but larger packets fail, there may be an MTU or fragmentation issue.
2. Troubleshoot MTU (Maximum Transmission Unit) problems
Suppose a user says:
- Websites partially load.
- VPN connects but applications don't work.
You can test different packet sizes:
ping google.com -l 500
ping google.com -l 1000
ping google.com -l 1472
If larger packets fail while smaller ones succeed, it's a clue that the path MTU may be too small.
3. Simulate real network traffic
A normal ping uses only a 32-byte payload, which is much smaller than many real-world packets.
Using:
ping google.com -l 1000
creates larger packets that better resemble typical application traffic, helping reveal issues that small packets might not.
4. Check for packet loss with larger packets
Example:
ping google.com -n 100 -l 1000
If you see packet loss only with larger packets, it may indicate:
- Network congestion
- Faulty equipment
- MTU or fragmentation issues
You want to verify that traffic sourced from 192.168.10.1 can reach 192.168.20.10.
Use Extended Ping:
Target IP:
192.168.20.10
Source:
192.168.10.1
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 0/0/3 ms
Extended ping is commonly used to troubleshoot:
- ✅ Routing problems
- ✅ ACL issues
- ✅ NAT problems
- ✅ VPN connectivity
- ✅ Inter-VLAN routing
- ✅ Source-interface testing
- ✅ MTU and fragmentation issues
Normal Ping vs Extended Ping
| Feature | Normal Ping | Extended Ping |
|---|---|---|
| Destination IP | ✅ | ✅ |
| Choose source interface/IP | ❌ | ✅ |
| Change packet size | ❌ | ✅ |
| Change repeat count | ❌ | ✅ |
| Test MTU (DF bit) | ❌ | ✅ |
| Advanced troubleshooting | ❌ | ✅ |
Comments
Post a Comment