Solved

Ping times to switches very high but not to other servers or devices

Posted on 2014-01-10
5
636 Views
Last Modified: 2014-01-13
Hello all,

So im having a weird issue here and perhaps its not even an issue.

ICMP / ping traffic to my switches on my LAN is very confusing. I am not a novice network technician but im no expert either and I cant quite explain it.

I ping any device on my network and the highest ping time I get is 2ms (for when it has to run across to the other end of my warehouse generally) however pinging any of my switches varies in ping times for example:

ITMGR2:~ username$ ping 192.168.1.13
PING 192.168.1.13 (192.168.1.13): 56 data bytes
64 bytes from 192.168.1.13: icmp_seq=0 ttl=64 time=6.769 ms
64 bytes from 192.168.1.13: icmp_seq=1 ttl=64 time=5.961 ms
64 bytes from 192.168.1.13: icmp_seq=2 ttl=64 time=7.013 ms
64 bytes from 192.168.1.13: icmp_seq=3 ttl=64 time=8.050 ms
64 bytes from 192.168.1.13: icmp_seq=4 ttl=64 time=9.456 ms
64 bytes from 192.168.1.13: icmp_seq=5 ttl=64 time=10.468 ms
64 bytes from 192.168.1.13: icmp_seq=6 ttl=64 time=10.134 ms
64 bytes from 192.168.1.13: icmp_seq=7 ttl=64 time=3.384 ms
64 bytes from 192.168.1.13: icmp_seq=8 ttl=64 time=5.241 ms
64 bytes from 192.168.1.13: icmp_seq=9 ttl=64 time=6.240 ms
64 bytes from 192.168.1.13: icmp_seq=10 ttl=64 time=7.274 ms
64 bytes from 192.168.1.13: icmp_seq=11 ttl=64 time=8.276 ms
64 bytes from 192.168.1.13: icmp_seq=12 ttl=64 time=10.027 ms
64 bytes from 192.168.1.13: icmp_seq=13 ttl=64 time=11.822 ms
64 bytes from 192.168.1.13: icmp_seq=14 ttl=64 time=3.276 ms
64 bytes from 192.168.1.13: icmp_seq=15 ttl=64 time=4.531 ms
64 bytes from 192.168.1.13: icmp_seq=16 ttl=64 time=6.061 ms
64 bytes from 192.168.1.13: icmp_seq=17 ttl=64 time=7.084 ms
64 bytes from 192.168.1.13: icmp_seq=18 ttl=64 time=8.407 ms
64 bytes from 192.168.1.13: icmp_seq=19 ttl=64 time=10.335 ms
64 bytes from 192.168.1.13: icmp_seq=20 ttl=64 time=11.338 ms
64 bytes from 192.168.1.13: icmp_seq=21 ttl=64 time=12.406 ms
64 bytes from 192.168.1.13: icmp_seq=22 ttl=64 time=3.844 ms
^C
--- 192.168.1.13 ping statistics ---
23 packets transmitted, 23 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 3.276/7.713/12.406/2.648 ms
ITMGR2:~ username$

Switching environment is DLINK DGS 1500-28's and 52's with Fibre GBIC's for the swtiches that run to my warehouse.

Thoughts?
0
Comment
Question by:sheldontking
5 Comments
 
LVL 13

Expert Comment

by:Andy M
Comment Utility
Not sure on  the cause but you are not alone - I've seen this happen with managed Netgear switches in multiple environments - internal pings between devices getting 1-2ms, switches vary from 4-10ms. As we don't have any reported or noticed problems with access or network performance we never really looked into it closely.
0
 
LVL 25

Expert Comment

by:Cyclops3590
Comment Utility
From my understanding ( I don't have experience with your switches though), it is because of how the icmp packet is being processed by the switches.  Switches are optimized to switch packets coming in on one interface and forwarded out another interface.  So processing is streamlined and minimized to provide a consistent low latency to communication per switching hop.  Better hardware can do it at near line rate due to lookup efficiencies

When you ping the device though, it isn't doing a lookup in a table to effectively just forward it on.  It is pushing it up the processing ladder in the device and the switch now has to "think" about what to do with it.  This added processing increases the latency a little bit.  How much depends on how busy the switch is and how much resources it has at its disposal.  This kind of explains why its not totally stable either.  Because the cpu load on the switch can vary depending on what it needs to do to support its other functions so those icmp packets queue and wait their turn for processing.

At least that's how it was explained to me.  Since it made since, I've never looked further into why so much latency is added unless it starts impacting something.
0
 
LVL 26

Expert Comment

by:Soulja
Comment Utility
When you are ping devices on your network, you have to figured the switch is just switching the traffic at Layer 2 based on it's MAC address table. Now when you ping it's own management address, it now has to deal with Layer 3, so it now has to strip the frame off to read the packet. Then re-encapsulate the packet and send it back. That is my take on it.
0
 
LVL 21

Accepted Solution

by:
robocat earned 250 total points
Comment Utility
This is something that is often seen on low-end switches.

Network traffic aimed at the switch itself (ICMP ping, SNMP, ...) is not dealt with by the switching fabric but by the management CPU. ICMP is often treated as a low priority process, so you get varied response times.

Nothing to worry about unless response times go way up.
0
 
LVL 9

Assisted Solution

by:tsaico
tsaico earned 250 total points
Comment Utility
Never thought of trying to simply ping the switch, always just used the crossover or webUI.  I just did some sampling on some clients' switches and found the Cisco, Procurves, and a Nortel switch responded just fine.  Three netgears, a d-link, and a TP link had similar behavior.  It does look like low-end entry models do respond slower...
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Hi there, This article summarizes what you need if you are going to set up your home or small business Network Attached Storage (NAS) to be accessible from the internet. Of course there are configuration differences based on your NAS or router ma…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now