Question

switch doesn't work, hub works fine

Asked by: deanabb

I've had a puzzler here. Wanted to upgrade from some old 10-BaseT hubs to 10/100 switches--I'll just describe one of those upgrades here. The office has 50+ IP Addresses active (PCs, Linux Boxes, Printers, etc.) all going through two 32-port switches. This works fine. in one office, we have 4 printers and a workstation connected to a 10-BaseT hub. I swapped it out with a 10/100 switch. At first it all worked fine. I went home, came back the next morning, and I'm getting all kinds of complaints about latency (it's taking 5 minutes to print a 2.5 MB excel document). When I "switched" back to a 10-BaseT hub, it all worked like a charm.

I've seen this same thing in other offices--5-port D-Link switches, 8-port Gigafast switches, ...doesn't matter--they all are flaky and slow.

What could be going on? Am I missing something about how switches work?

Dean

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-06-01 at 13:51:16ID21443816
Tags

hub

,

switch

,

works

Topics

Miscellaneous Networking

,

Networking Hardware

,

Network Switches & Hubs

Participating Experts
8
Points
500
Comments
13

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. SWITCH and HUB
    What is switch ? What is the differents between switch and hub ? Andrew
  2. Switches or Hubs
    I have been wondering about the use of low cost switches that seems to be the current fad. I have noticed that most of the low end switches use the Store and Forward method, or else don't tell you what method they use. Our Intel 520 switch (not low cost) prefers to use the Cu...
  3. Routers and Hubs
    Revising routers and hubs. Currently I have 56 PCs connected to 15 hubs and 5 routers. Are there too many hubs? In another setting, there is 16 PCs connected to 4 hubs and 3 routers. Are there too many routers?

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: pclark6127Posted on 2005-06-01 at 13:55:56ID: 14125859

Check for duplex mismatchs on the switch.   Also, if they are Cisco check to see if port-fast is enabled and if so disable it.   Also check cabling to make sure it is good.  One other thing to check is make sure you do not have a loop.

 

by: MrArubaPosted on 2005-06-01 at 16:19:32ID: 14126664

re-examine the ables you're using to connect from switch to switch. Take out all cross-over cables (used to connect the hubs) and replace them with straight cables.

 

by: t1n0m3nPosted on 2005-06-01 at 16:34:17ID: 14126781

I would bet that you have 2 cables connecting between the 2 hubs or switches somewhere.

Do this  :
Identify the main switch (usually the biggest switch) have each hub (or smaller switch) have a Cat5 to this main switch.  Connect it all together.  go to each hub (or smaller switch) and put a ping -t to the main switch (or a PC on that main switch)  Unplug the uplink from the switch to the hub, if it times out you have a single connection, if it continues to ping, you have more than one connection back to the main switch.  Do this for each hub.  Also you absolutely do NOT want the hubs connected together.

If you want to have 2 main switches (with a connection in between the 2 main switches), connect each hub (or smaller switch) to either one switch or the other, not both.

 

by: t1n0m3nPosted on 2005-06-01 at 16:49:29ID: 14126868

A couple more thoughts:
--------------------------
Unplug the uplink from the switch to the hub, if it times out you have a single connection, if it continues to ping,
--------------------------

The reverse could also be true.  If you cannot ping (or have very high pings) and you unplug the cable running back to the main switch and the pings go back to normal, that would indicate 2 links (one to the switch and one to somewhere else on that hub)

If you have high pings (abnormal) and when you unplug the link back to the switch, and it times out, that would indicate that one of the other hubs connected to the switch has a loop.  In this case, leave this hub disconnected and go to the next hub.  Same?  leave it disconnected and go to the next hub, etc until you find the one causing the issue.

Now, specific to you, since this one hub (when changing it to a switch) is causing the issue, I would think that A. it has more than one connection to the main switch (via 2 cables connecting to the main switch or via 1 cable connecting it to the switch and another to another hub that also has a cable back to the main switch), or B. it is connected to itself somehow.

for problem A use the method above.
for problem B use the method below.

To find out if it is connected to itself, disconnect each connection and make sure only that link light goes out, if another link light goes out on the same switch/hub, you have found your loop.

 

by: deanabbPosted on 2005-06-01 at 17:00:07ID: 14126939

Thanks for the feedback so far. A couple of additional points of information. We took that switch out of its location connected to the 4 printers and desktop PC, and put it somewhere else connected to two other PCs (new Dell desktops) and it seems to work fine, though we have noticed that it runs very hot. Over several hours this could be an issue. We're checking this now. But even so, I've seen this same problem with other switches in other locations in this office. These are all autosensing switches and no cross-over cables were used. (The hub of course has an uplink port). Nothing loops back. The cable comes from the wall to the switch (plugged into port 1) and the 4 printers and desktop are the end of the line here. T

I don't believe the cables are the problem per se because I can swap out the switch for a hub using the exact same cabling and it works like a champ. In another location, I replaced a cheap 8-port Gigafast switch with a hub and it worked fine (same cables), and then swapped it with another switch (a 16-port D-Link switch) and it worked fine. If the cables are a problem, could it be that some switches are more sensitive to old cables? Our office was wired 10+ years ago, and every office has wall porThanksts connected to the 2 32-port switches in our network closet.

 

by: jgarrPosted on 2005-06-01 at 18:11:46ID: 14127214

Sometimes its a good idea to statically define the speed and duplex on the switch for the devices connecting to each port. The negotiation for autosense is often unreliable.

If you are concerned about Spanning tree issues, you should research how to set the root bridge manually as well. All of the switches out of the box will have the same priority (if they are the same model) As you add switches to the same layer 2 domain, you'll eventually have problems with STP.

 

by: sciwriterPosted on 2005-06-01 at 19:22:15ID: 14127505

A switch's function is to ROUTE traffic BETWEEN different IP domains, whereas a router will assume they are all of the same class C domain.  Regardless of the "running hot", I would suspect your switch is trying to split traffic to two different subnets, and the printers are on a different subnet than most of the computers.  Therefore it is trying to route that traffic to a non-existant, or non-vald subnet.  Why not just use a router if your computers and printers are all on the same subnet.  What else are you trying to do?

 

by: bluebirds1984Posted on 2005-06-02 at 02:32:32ID: 14128955

had the same probelm in my work, for some reason the Switch was running the port at Half Duplex even though the Server and switch were on auto neg. there were problems saving files to the server and printing.

I forced the switch to run the port at full and problem solved.

if that doesnt work to a port mirror and put a port analyzer on there, see what's going on (long acknowledgements etc).  
you can get one here

http://www.ethereal.com/

http://www.solarwinds.net/Tools/Engineer/  i think you can get a port analyzer here too.

 

by: pseudocyberPosted on 2005-06-02 at 04:47:33ID: 14129599

Exactly what kind of swtiches are you putting in?  If everything works great on your old 10baseT hub, are all your hosts configured for Autonegotiate?  If so, then all the ports on your switch also need to be Autonegotiate.  On the other hand, if you want to hard set your network to 100 Full Duplex, then all the hosts need to be 100 Full Duplex as well.

Can you get into the switch and examine the Ethernet port statistics?  What kind of errors are you seeing?  If FCS & Alignment Errors, first thing is to make sure your duplex is set correctly on both sides.  You cannot have only one side Auto unless the other side is SET to HALF.

 

by: Danny_LarouchePosted on 2005-06-02 at 07:16:03ID: 14130882

Verify your cabling... If you are using managed switch, you should see which ports are having excesssive error rate.

 

by: t1n0m3nPosted on 2005-06-02 at 18:02:23ID: 14136165

Hmmm, 10+ years is a long time.  Did you replace a 10 Mbps hub with a 100 MBps switch or something like that?  If the cable is not CAT5 or better maybe it is having problems negotiating 100Mbps.

If the switch runs hot, it could definitely cause issues when giving it a load.

I don't know what " A switch's function is to ROUTE traffic BETWEEN different IP domains," means, but I know that a switch's function is to Switch conversations to different MAC addresses.  Your simple switch does not even care about IP unless you get into higher end switches, and that does not seem to be the case here.

The only topology difference between a simple hub and a simple switch is that a simple hub has only one collision domain, and a simple switch has a collision domain for each port.  Of course, pay more money, get more features like VLANS, 802.1q, routing built in, etc.

 

by: t1n0m3nPosted on 2005-06-02 at 18:08:47ID: 14136189

SO..... Do this:

Hook up the switch like it was before (when causing issues)

Put a continuous ping from one workstation on the switch to another workstation on the switch.
Put a continuous ping from one workstation on the switch to another workstation somewhere else in the building (so the ping has to go thru your switch backbone.)

When the pings stop or get really laggy, disconnect the uplink to the back bone.

If your pings to the other workstation on the same switch normalizes (drops back down to an acceptable ping) you know your problem is with the wiring.

If your pings to the other workstation on the same switch stays high (or intermittent) you know that this switch is bad.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...