Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

How "source ip" in icmp packet effect the results?

what importance source ip has in icmp packet

and how it effects the results

As i am having completly different results to same destination with different source ip

ping generated by same router towards same destination router over same link

ping source ---- latency 55ms

ping source ---- latency 6ms

Everyone's tags (2)
New Member

Re: How "source ip" in icmp packet effect the results?

Hi !

1.every Ip Packet has a source and a destination Ip address

ICMP echoreply the answer is sent back to the source address of the ICMP echo packet

So if your destination noide ( ) has different paths in his routing table for reaching both addresses packets have diff. latency.

if you omit the source address the packet will get the interface address nearest to the destination as source address.

2. in order to send L3 packets the corresponding L2 mac-address need to be known, so for the first request and response packet before forwarding arp request has to be done. Therefore sometimes the first Ping packet times out.

3. ICMP is often rate-limited ( to the routers CPU) so ICMP is not a good way to measure latency.

    better way is to use udp ( e.g IP SLA)

4. ping sends typically more than one packet and depending on the OS either gives response time for each packet or average ( sometimes with min/max), so what are your values ?

with best regards