cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2359
Views
8
Helpful
16
Replies

Extended ping vs regular ping

nicholas-lang
Level 1
Level 1

Im trying to understand the difference between these two pings below on my cisco 8200. 

xxxxxxxxxx#ping ip
Target IP address: x.x.x.41
Repeat count [5]: 2500
Datagram size [100]: 1500
Timeout in seconds [2]:
Extended commands [n]: y
Ingress ping [n]:
Source address or interface: x.x.x.42
DSCP Value [0]:
Type of service [0]:
Set DF bit in IP header? [no]: yes
Validate reply data? [no]:
Data pattern [0x0000ABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 2500, 1500-byte ICMP Echos to x.x.x.41, timeout is 2 seconds:
Packet sent with a source address of x.x.x.42
Packet sent with the DF bit set
!!!!OMMITTED FOR SPACE!!!!!!
Success rate is 100 percent (2500/2500), round-trip min/avg/max = 9/9/26 ms

 

But my standard ping

XXXXX#ping x.x.x.41 source x.x.x.42 size 1500 df-bit repeat 2500
Type escape sequence to abort.
Sending 2500, 1500-byte ICMP Echos to x.x.x.41, timeout is 2 seconds:
Packet sent with a source address of x.x.x.42
Packet sent with the DF bit set
.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!.!!!.!..!!!!!.!!!!!.!.!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!.!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!..!!!!!!!!!!!!!!!!!!!!!!!!.!!!
!!!.!!!!!!.!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!.!!!!..!!!..!.
Success rate is 90 percent (253/279), round-trip min/avg/max = 9/10/15 ms

 

I have discovered the issue here is with Verizon having faulty conega perkins and one other time they said it was a clean and scope of fiber required. But what i want to understand, why would the first extended ping not show any issues but the standard ping shows issues. What is the difference between the two above pings that would allow the ping to complete on one, but drop on the other. It appears i set the exact same setting on each but they act differently. I know its a issue with verizon circuit but doesnt quite make sense. 

16 Replies 16

"I have been researching about data patterns and have yet to fully understand the exact reasoning on what exactly this does or how it handles the traffic differently. If anyone have any further information, i would greatly appreciate it."

It can impact transmission based on how the bits are encoded on the media.

This subject can be rather complex, sort of in the same realm why there are different CRC algorithms (some perform better for the typical "errors" on some media).

If everything is working as expected, changing data patterns should not impact the transmission, if it does, there's an underlying issue.  Very likely depending on what pattern(s) have issues will provide hints about the underlying cause.

Here's what my browser's AI also had to "say":

 

Network Ping Data Patterns

 

Ping tests are used to troubleshoot network connectivity issues and diagnose data-dependent problems in a network. The -p option in the ping command allows users to specify a custom data pattern in the ICMP request packets. This feature is useful for identifying issues related to data-dependent problems, such as packet corruption or misinterpretation.

Common Data Patterns

  1. All Ones (FFFF): This pattern fills the packet with ones (0xFF) and can help diagnose issues related to repeaters or amplifiers in the network.
  2. All Zeros (0000): This pattern fills the packet with zeros (0x00) and can help test clocking and synchronization issues in the network.
  3. Alternating Ones and Zeros (5555): This pattern alternates between ones and zeros (0x55) and can help identify issues related to data-dependent problems or misinterpretation.
  4. Specific Patterns (e.g., ACDB): Users can specify custom patterns to test specific scenarios or diagnose issues related to specific network devices or protocols.

Example Usage

To use a custom data pattern with the ping command, specify the -p option followed by the desired pattern. For example:

ping -p ff <destination_ip>
 

This command sends a ping request with a packet filled with ones (0xFF) to the specified destination IP address.

Benefits

  1. Data-Dependent Problem Diagnosis: Custom data patterns help diagnose issues related to data-dependent problems, such as packet corruption or misinterpretation.
  2. Network Troubleshooting: Ping tests with custom data patterns can aid in identifying issues related to repeaters, amplifiers, clocking, and synchronization in the network.
  3. Customized Testing: Users can create custom patterns to test specific scenarios or diagnose issues related to specific network devices or protocols.

Tools and Solutions

  1. iproute Package: The ping command is part of the iproute package, which provides tools for network configuration and troubleshooting.
  2. Kentik Synthetics: Kentik’s synthetic monitoring solution offers automated ping tests with customizable data patterns, enabling proactive network performance monitoring and issue detection.

Best Practices

  1. Use Standard Patterns: Start with standard patterns (e.g., all ones, all zeros) to diagnose common issues.
  2. Customize for Specific Scenarios: Create custom patterns to test specific scenarios or diagnose issues related to specific network devices or protocols.
  3. Monitor and Analyze Results: Carefully monitor and analyze the results of ping tests with custom data patterns to identify issues and optimize network performance.

By leveraging custom data patterns with the ping command, network administrators and engineers can gain deeper insights into network behavior and diagnose data-dependent problems more effectively.