20

I read in a lot of places that it's necessary to ground networking equipment. In a small SOHO environment where there are, say, 4-5 systems and each system is grounded, is it also necessary to ground the network equipment, that is, the network cable and the switch?

If yes, how it is/can be achieved? Most of the low-cost switches I have seen, like say this one or this one.

seem to have only a two-pin power adaptor. In such a case, how do I ground the switch?

1
  • thank you Peter Mortensen for making it a bit more contextual.
    – shirish
    Mar 18, 2014 at 19:49

3 Answers 3

41

Grounding for safety (vs grounding for signal integrity, which is a whole different issue, see below) is primarily a concern for equipment in a metal enclosure. If there is a wiring fault inside the device (frayed wire shorting against the metal inside), then the outer shell of the unit may be electrified. Guess what happens when you touch it? Ouch! By having a ground path, you give the electrical current somewhere else to go (instead of through your body when you touch the device).

You will notice that most devices in a metal enclosure will have a 3-prong input power (if the power plugs in directly without an AC/DC power brick), and also a chassis ground screw.

If you are grounded through the power cord, the middle prong should be connected to the building's wiring and then to an earth grounding rod, assuming your building was properly wired using modern building codes. There are inexpensive testers that can check to make sure your outlet is wired correctly.

If you use the chassis ground screw, you typically connect it to a grounding bus bar mounted on the wall, which is then connected to an earth ground. If you don't have a bus bar in your setup, you might be able to "cheat" by wiring it up to the grounding prong or center screw of an electrical outlet. (This is not ideal, and probably would not pass a code inspection, but it is better than nothing.)

Your local safety codes may require one or the other be hooked up, or both. It may also depend on whether it is a temporary item (e.g. a 5-port switch on someone's desk), or a permanent installation (something bolted to a wall). Check your local codes.

For rackmount devices, they are typically grounded to the metal frame of the rack by being bolted to it. Then there is is typically a grounding connection from the metal frame of the rack to a bus bar, which in turn grounds all of the devices mounted in the rack. This is in addition to the grounding provided via the power cords. Cable conduits, ladders, rack doors should be grounded as well (any exposed metal). Page 3 of this PDF provides a useful illustration.

For a consumer-grade desktop switch in a plastic shell like the ones you mentioned: There is usually no option for attaching a ground because it is not required since there is no exposed metal. The only things you should do is make sure your outlets are wired correctly (using the aforementioned tester), and use a surge suppressor (power strip or UPS).

Grounding for Signal Integrity: The other reason you might need to pay attention to grounding is if you have a signal integrity problem (corrupt data). Two big ways this can come into play:

  1. In an electronic system, ground is the reference point for "zero volts". Ground is not the same everywhere you are, so two physically separate systems may disagree on what is a "1" or a "0". This can lead to all kinds of "interesting" communication problems. A common way you can run into this is if one of the computers connected to the switch is on a separate electrical power system (e.g. two buildings connected by an underground cable). In that case, it is recommended that you use fiber ethernet (not a consumer grade switch).

  2. Electronic interference and "noise". Power cables running next to data cables. EMI due to a large electric compressor next to your wiring closet. These kinds of problems can be mitigated with grounded conduits and other forms of shielding (or just use fiber).

Generally speaking, Ethernet is is much more forgiving than say RS-232 when it comes to grounding issues because the signaling is differential and uses an isolation transformer. So, you usually do not need to worry about signal integrity grounding in a typical office environment. However, problems can still occur in "harsh" environments, like a factory floor. If you have a higher-end managed switch, it can give you statistics on Layer 1-2 communication errors, which will give you some idea if there are physical problems with your wiring that need to be addressed.

5
  • 10
    +1 - Excellent answer.
    – TheCleaner
    Mar 17, 2014 at 16:18
  • Could you please also extrapolate on the 'grounding for signal integrity' part as well ? I have no knowledge about that.
    – shirish
    Mar 17, 2014 at 17:09
  • @shirish Did my best to answer that. It's a pretty broad topic. Mar 17, 2014 at 21:26
  • Ethernet has built-in electrical isolation so you could, in theory, run unshielded twisted pair between buildings and not have a problem with ground loops. Shielded cable could still be a problem if the shield is grounded at both ends, so you would typically only connect the shield at one end.
    – Johnny
    Mar 17, 2014 at 23:22
  • 2
    Yeah, but then you have a problem with lightning.
    – mfinni
    Mar 18, 2014 at 16:18
3

In your case, don't worry about it.

Besides, Ethernet electrically uses differential signalling wire pairs. So it's very tolerant to ground offsets.

Shamelessly grabbed from wikipedia:

Tolerance of ground offsets.

At the end of the connection, the receiving device reads the difference between the two signals. Since the receiver ignores the wires' voltages with respect to ground, small changes in ground potential between transmitter and receiver do not affect the receiver's ability to detect the signal.

Grounding for safety is different. And in a server rack installed in a datacenter where you can have some higher voltages around and a lot of metalwork it's advisable to have everything grounded.

But in your case you are using a SOHO router which probably powered by a plug pack or is doubly insulated with no exposed metal. It'll be fine and you don't need to do anything.

0

Use SHIELDED ethernet cables labeled STP or even SSTP (foil and braid). UTP are for typical office applications (cheapest, so you end up seeing these routed through walls by inexperienced installers). There is also FTP. On a factory floor or harsh noise environments you need Shielded.

I am not sure how but these switches and cables can also be grounded for signal integrity against EMI / RFI.

Does anyone know how to ground consumer type metal box switches for signal integrity that use a 2 prong power block? Do the shielded cables ground through them?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .