Best way to connect multiple switches together

50,804

Solution 1

Maybe the switches were just in awe of your amazing topology?

Seriously though, if you can take the time, do it again, but only connect one switch at a time to the Gb switch, and verify connectivity and function at each step.

When the network finally halts, disconnect all of the switches, and try connecting that switch first. If it does it again, disconnect everything on that switch and add them back, one by one to find the unhappy link.

If it doesn't die, add switches until it does. If it fails after adding more switches, maybe one of the switches can't handle the size of the MAC address table, and you need a bigger switch?

Solution 2

I'd definitely try to get the latter topology working (with Matt Simmons' diagnostic hints as a guide), as it will provide better latency (always only one hop away). Also, given your very limited interconnect capacity, try to:

  • put machines which often talk to each other on the same switch (so that the interconnects don't have to carry as much traffic); and
  • hook machines that have gigabit NICs and talk to a lot of other machines on the gigabit switch directly (so they can get their data into the network as efficiently as possible).

Ultimately, though, you can't stick a ten pound turkey in a five pound bag, and I'd be writing up a plan for purchasing a set of managed gigabit switches, based on your description of the network being heavily utilised already.

Share:
50,804

Related videos on Youtube

Beep beep
Author by

Beep beep

Updated on September 17, 2022

Comments

  • Beep beep
    Beep beep almost 2 years

    We currently have five 24 port 3com unmanaged switches. Four of them are 100Mb switches with no gigabit port (MDI Uplink port is 100Mb). The fifth is a full gigabit switch which we use for all of our servers. They are daisy chained together at the moment, kind of like this:

    alt text

    At certain times of the day, network performance becomes atrocious. We've verified that this has nothing to do with server capacity, so we're left with considering network I/O bottlenecks. We were hoping to connect each 100Mb switch directly to the gigabit switch so that each user would only be 1 switch away from the server ... like this:

    alt text

    The moment this was connected, all network traffic stopped. Is this the wrong way to do it? We verified that no loops exist, and verified that we didn't have any crossover cables (all switches have Auto-MDI). Power cycling the 5 switches didn't do anything either.

  • Zypher
    Zypher over 14 years
    Also if it does fail again, watch the activity lights on the switches - are they going nuts?
  • Beep beep
    Beep beep over 14 years
    @Zypher - good point, we'll take a look off hours (during the day they're always going nuts, we have a lot of network traffic).
  • 3dinfluence
    3dinfluence over 14 years
    Managed switches have the same limits as unmanaged switches. Managed switches just give you more control and visibility of what's happening on the network.
  • 3dinfluence
    3dinfluence over 14 years
    Not having managed switches makes these kind of issues difficult to track down as you lack visibility of the network. But Matt's approach should help you narrow it down quickly.
  • womble
    womble over 14 years
    @3d: While you're correct that there's no intrinsic difference between the capacity of managed versus unmanaged switches, in practice managed switches tend towards the higher quality end of the market, and hence tend to have better switching fabrics, allowing them to fling more traffic around.
  • Beep beep
    Beep beep over 14 years
    Oddly enough, if we set clients to 100/Full or 100/Half, many of them slow down significantly. The only way it continues to send faster than 10Mb is by setting it to auto-negotiate. Makes no sense whatsoever, but many of our clients are Win98 (legacy app that we cannot replace for another year), so we don't mess with it.
  • Beep beep
    Beep beep over 14 years
    "you can't stick a ten pound turkey in a five pound bag" - nice. But what if we duct tape two five pound bags together? That's worked so far =)
  • Wade Williams
    Wade Williams over 14 years
    I was talking about the connections between the switches being manually configured for 100/Full. If two switches from the same manufacturer won't work when a link is manually configured, something is very wrong and I'd be on the phone with their tech support.
  • womble
    womble over 14 years
    I guess that etherchannel would be the equivalent of duct tape... requires managed switches, though.
  • Murali Suriar
    Murali Suriar over 14 years
    @Matt: minor point, switches do not have ARP tables. Unless they are L3 switches, in which case they should be called routers. :)
  • 3dinfluence
    3dinfluence over 14 years
    @womble...no doubt but pretty much all unmanaged switches are "non blocking" at least as far as the backplane is concerned. Whether or not the cpu can keep up with fragmenting packets and other tcp issues is another question. Managed switches also tend to have more cache on each port than their unmanaged brothers.
  • Beep beep
    Beep beep over 14 years
    Ah. These are unmanaged switches, and don't allow changing the port speed.
  • Geoff
    Geoff over 14 years
    Actually, that behavior makes perfect sense, and is in spec. If one side (the switch) is set to auto, and the other is hardcoded to Full/100, the switch will try to negotiate and fail, since the client doesn't negotiate back. To get Full/100 working, either auto on both sides, or hardcode on both sides, don't mix auto with hardcoded.
  • Geoff
    Geoff over 14 years
    Matt's approach is a good one, as is your change in topology (daisy-chain worst possible). There's various other obscure things that could be causing your problem, which are difficult to track down on unmanaged network gear. I've seen similar behavior with "one-way" servers - like a locked-down syslog server, which only receives logs but never speaks. That causes its MAC address to time out on the switch's table, and all traffic to that server gets flooded through all ports. Similar issue with clustering or VRRP...
  • rackandboneman
    rackandboneman about 12 years
    The setup he is trying to implement is not a daisy chain.
  • kodziek
    kodziek about 12 years
    @Murali Suriar: Switches maintain a MAC Table that maps MAC Addresses to switch ports. This is the mechanism by which they forward packets to only the required ports and is the somewhat defining difference between switches and hubs. Not repeating all traffic on all ports significantly improves performance. You are correct that it is not an ARP table as ARP resolves IPs (which L2 switches don't care about). Switches learn MACs as traffic passes through them.
  • Massimo
    Massimo almost 12 years
    Just plain wrong. If the port is not auto-sensing, using a straight cable will not work at all. And if it instead is auto-sensing, it will not make any difference.
  • Krista K
    Krista K over 10 years
    I was going to disagree with the -2 since the question is 2009, but the answer coming in 2012? I agree with the votes. :P Now-a-days, it doesn't matter if cross-wired or not.