mail this page
products | company | support | training | contact us
Note: These pages were originally written when the world was young and 10m LANs were nose-bleedingly fast. They have been updated over the years but still contain some now long-in-the-tooth (aka legacy) stuff about crossed cables especially. You will need this information when working with specialised or older equipment but not, typically, otherwise. Crossed cables used to add a lot of color to wiring environments - sad really.
There is NOTHING more annoying than spending 30 minutes debugging a network problem to find it was the cable. Badly made or non-standard cabling is a foolish thing to spend time on - do it once and do it right. This guide may help you to forget cabling problems and spend time doing really useful things™ - like pondering the meaning of life or watching TV.
Note: The IEEE 802 committee has a policy such that 12 months after the publication of a standard it is made freely available for download. This enlightened and generous policy (relative to the ITU, TIA/EIA and others) has been operational for many years, though it was originally 6 months after the standard was ratified - but who's counting. Documents may be found at the IEEE site.
LAN cables are generically called UTP (Unshielded Twisted Pair or in the new ISO/IEC designation U/UTP) and are identified with a category rating. When installing new cable, unless there is a very good reason not to, you should be using category 5e or 6 UTP which is rated for 10mb, 100mb or Gigabit LAN operation. If you are moving to the exotic world of 10G LAN you will need category 6a wiring to go the full 100m (~330ft). Downhill, with a following wind, you can run 10G LANs over category 6 wiring over reduced distance. Info on Shielded Twisted Pair (STP) cabling.
UTP comes in two forms SOLID or STRANDED. SOLID refers to the fact that each internal conductor is made up of a single (solid!) wire, STRANDED means that each conductor is made up of multiple smaller wires. Stranded cable (which is typically more expensive) has a smaller 'bend- radius' (you can squeeze the cable round tighter corners with lower loss) and due to its flexibility should be used where you plug and unplug the cable frequently. All other things being equal, the performance of both types of cable is the same. In general, solid cable is used for backbone wiring and stranded for PC to wall receptacle (patch) cables. Beware: Each type of wire, solid or stranded, and each cable category (5e, 6, 6a) needs its own connector type.
Straight and crossed cables are still shown in the various diagrams. Crossed cables are now practically irrelevant for anything but older equipment. Modern switches (and hubs - if they still even exist) auto-sense the connections meaning that you can use straight cables almost everywhere - but when using older equipment you may still need a crossed cable.
100M LAN Notes: When working with 100M LANs you CAN use 100base-TX wiring with a 10base-T network (but not always the other way round). In general, ALWAYS use 100baseTX/T4 wiring standards. If you are using category 5, 5e or 6 wiring EVERYWHERE in a 100M LAN you can use the 100base-TX standard (this only uses 2 pairs , 4 conductors). Most of the information below assumes you are using category 5, 5e or 6 cables. If you are using category 3 or 4 cables with 100M LANs ANYWHERE you MUST use the 100Base-T4 standard and this has ADDITIONAL RESTRICTIONS documented throughout (it uses all 4 pairs, 8 conductors). LAN connections/pinouts are defined by IEEE 802.3u.
Gigabit and Gigabit+ LAN Notes: While 100M LANs allowed a 2-pair (4 conductor) wiring version (100base-TX) gigabit LANs require 4-pairs (all 8 conductors) which is functionally similar to 100base-T4 wiring. Even if gigabit LANs are still in the future - use 100base-T4/1000base-T (4-pair) wiring. If you still have 100base-TX (or even 10base-T) wiring in a gigabit LAN it will still function but auto-negotiation will limit speeds on those segments to 100Mbit/s.
Maximum LAN cable runs or segments are 100 meters (~330ft) unless otherwise noted. Segments can be joined using hubs (Class II repeaters) in which case up to 5 such segments (500m or ~1650 feet) are allowed for 10Base-T. When using 100Base-T/TX 2 hubs are allowed (200m or ~660 feet). When modern switches are used with 100M and Gigabit LANs these limits are raised and the switch vendors specification should be consulted. We were recently, hurtfully, accused of short changing those using the, dare we say it, older imperial units such as feet, inches and other stuff. In situations where size really does matter 100 meters is actually 100 x 3.28 (OK, 3.28008399 if it's really important) = 328 feet. Far from short changing those using their good old feet our normal 100 meters = ~330 feet is generous by a whole 2 feet. Both of which you could sensibly use to walk away from the whole issue.
We provide a Cabling FAQ which provides additional information or background.
If you are curious about the format of LAN data packets (the stuff sent using the cables you are carefully crafting) then you may find this page a useful beginning - then again you may not.
We have added an article on mixing 10/100 MB LAN and Telephony on a single category 5(e) or 6 cable. It can be done, but you must be very, very cautious. If you are use Gigabit LANs this requires use of all 4 pairs( 8 conductors) thus eliminating the possibility of mixing LAN and telephony on the same wiring.
We have updated most of the material for 1000base-T (Gigabit Ethernet 802.3ab) which uses all 4 pairs (8 conductors) and added notes where relevant about Power-over-Ethernet (PoE 802.3af and 802.3at).
A copper standard for 10GB Ethernet (802.3an) was published by the IEEE in 2006 and is known as 10GBASE-T. It requires category 6A cables (ANSI/TIA-568-C.2/ISO 11801 Amendment 2) for 100m (~330ft) operation but will run shorter distances over category 6 cables that meet TIA-155-A (ISO TR 24750) specifications.
The following diagram shows the Normal use of Crossed and Straight cables (see also the notes below).
We show Straight cables as BLUE and Crossed as RED. That is our convention. The cable color can be anything you choose or, more likely, the vendor decides.
To avoid the need for Crossed cables many vendors provided UPLINK ports on Hubs or Switches - these were specially designed to allow the use of a STRAIGHT cable when connecting back-to-back Hubs or Switches. Read the manufacturers documentation carefully.
Increasingly vendor hubs (can you still buy them?) and switches will auto-detect the connection type and internally switch the connectors so that STRAIGHT cables can be used everywhere.
The various standards can get a tad complicated and messy. We get occasional email requesting a summary of the standards - this is our attempt to provide a quick overview.
|10base-T||2 (1/2 and 3/6)||yes||yes||no||no||cat 3, 4, 5, 5e, 6||100m support only if no cat 3/4 in run|
|100base-TX||2 (1/2 and 3/6)||yes||yes||no||no||cat 5, 5e, 6||100m support only if no cat 3/4 in run|
|100base-T4||4 (1/2, 3/6, 4/5 and 7/8)||yes||yes||yes||yes||cat 3, 4, 5, 5e, 6||max of 100m if cat 3 or 4 in network|
|1000base-T||4 (1/2, 3/6, 4/5 and 7/8)||yes||yes||yes||yes||cat 5e, 6||Functionally identical to 100base-T4. Some cat 5 cables may be acceptable.|
|10Gbase-T||4 (1/2, 3/6, 4/5 and 7/8)||yes||yes||yes||yes||cat 6a||cat 6 cables may be used but have distance limitations.|
The following table shows the normal colour coding for category 5 cables (4 pair) based on the two standards supported by TIA/EIA (see also our primer on this topic)
We get occasional email about the difference between 568A and 568B wiring. Which one you use is a matter of local decision. These standards apply to the color code used within any SINGLE cable run - BOTH ENDS MUST USE THE SAME STANDARD. However, since they both use the same pinout at the connectors you can mix 568A and 568B cables in any installation.
Straight cables are used to connect PCs or other equipment to a HUB or Switch. If your connection is PC to PC or HUB to HUB you MAY need to use a Crossed cable with older equipment. Most modern Hubs and Switches provide auto-sensing which means a straight cable can always be used.
The following cable description is for the wiring of both ends (RJ45 Male connectors) with the 568B category 5(e) wiring colors you could, of course, use the 568A colour scheme.
|Pin No.||strand color||Name|
|1||white and orange||TX+|
|3||white and green||RX+|
NOTE: Items marked * are not necessary for 10M LANs (10base-T) but since you will be moving shortly to 100MB or Gigabit LANs (won't you) you will save yourself a LOT OF TIME finding crappy cable (that you made) that does not work. Instead we suggest you wire to 100Base-T4 standards. After all you gotta stick the ends somewhere man.
We use BLUE for 10base-T straight cables. NOTE: All our wiring is now done to the 100base-T4 spec which you can use with 10base-T networks - but NOT necessarily the other way around.
Crossed cables are used to connect PCs to one other PC or to connect a HUB to a HUB. Crossed cables are sometimes called Crossover, Patch or Jumper cables. If your connection is PC to HUB you MUST use a Straight cable.
The following description shows the wiring at both ends (male RJ45 connectors) of the crossed cable.
|4 *||5 *|
|5 *||4 *|
|7 *||8 *|
|8 *||7 *|
Straight cables are used to connect PCs or other equipment to a HUB or Switch. If your connection is PC to PC or HUB to HUB you MAY need to use a Crossed cable with older equipment. Most modern Hubs and Switches provide auto-sensing which means a straight cable can always be used.
The following cable description is for the wiring of BOTH ends (RJ45 Male connectors) with your category 5 wiring colors (TIA/EIA 568A or 568B though the example uses 568B colors).
|Pin No.||conductor color||Name|
|1||white and orange||TX_D1+|
|3||white and green||RX_D2+|
|5||white and blue||BI_D3- **|
|7||white and brown||BI_D4+ **|
We use BLUE for 100baseT straight cables.
Wires marked ** are ABSOLUTELY NECESSARY for 100Base-T4 networks - used when any combination of category 3/4/5 cables are present, when using 1000base-T (GigE) and MAY be required for Power-over-Ethernet (PoE) - see below.
Wires marked ** are not essential for 100Base-TX (using cat 5/5e6/6a ONLY cables) and CAN be used for other purposes, for example, telephony but, .. beware .. read this FAQ and our LAN plus Telephony article before you wire your entire neighbourhood for surround sound.
The Power-over-Ethernet spec (802.3af) allows three schemes where power may be supplied. Two of these schemes use pairs 4,5 and 7,8 (marked ** in above table) for power (called Midspan PSE and Alternative B or Mode B), one scheme uses ONLY pairs 1,2 and 3,6 (Endpoint PSE, Alternative A or Mode A) for both signals and power. Depending on which scheme you use pairs 4,5 and 7,8 may be required. See Power over Ethernet (PoE).
All our wiring is now done to the 100base-T4 spec which you can use with 1000base-T and even 10baseT networks - but NOT the other way around.
Crossed cables are used to connect PCs to one other PC or to connect a HUB to a HUB. Crossed cable are sometimes called Crossover, Patch or Jumper cables. If your connection is PC to HUB you MUST use a Straight cable. Most modern Hubs and Switches provide auto-sensing which means a straight cable can always be used.
The following description shows the wiring at both ends (male RJ45 connectors) of the crossed cable. Note: The diagrams below shows crossing of all 4 pairs and allows for the use of cat3/4 cables with 100m LANs (100base-T4). Pairs 4,5 and 7,8 do not NEED to be crossed in 100base-TX wiring. See notes below.
We use RED for crossed cables (or more commonly now a red heat-shrink collar at each end).
1000base-T is the copper based version of the gigabit Ethernet standard defined by 802.3ab which, since it is over 12 months old, is available free of charge from the enlightened IEEE. Great work. In passing, if you want to see sophistry raised to an art form read the EIA's justification for charging for their specifications. (Note: The original EIA statement is, unfortunately, no longer available on-line. This is a great loss to the development of the English language in general, and comedy writing in particular.) The following notes apply to the 1000base-T spec:
The standard defines auto-negotiation of speed between 10, 100 and 1000 Mbit/s so the speed will fall to the maximum supported by both ends - ensuring inter-working with existing installations.
The cable specification base-line is ANSI/TIA/EIA-568-A-1995 (which you have to pay for). This means that if you know your cat5 cable was manufactured to this standard (there was a lower rated 1991 version of this specification) then it will support Gigabit Ethernet. Cat5 cable manufactured to the old specification may work or it may not - you need to run some tests. Cat 5e and cat 6 being higher spec cables will support Gigabit Ethernet.
Maximum runs are the standard 100m (~330ft).
Gigabit Ethernet uses all 4 pairs (8 conductors). The transmission scheme is radically different from 10 and 100 Mbit/s standards (PAM-5: a 5 level amplitude modulation scheme) and each conductor is used for send and receive.
Crossed Gigabit Ethernet cables must cross all 4 pairs however it should be noted that since all 1000base-T equipment includes automatic crossover detection, crossed 1000base-T cables are extremely rare.
Because of the higher speeds everything about a Gigabit cable must be correct. Specifically the connectors must be rated for Gigabit operation with minimal untwisting of the cable when adding the connector. See also cabling hints.
When Cat6 cables are used these will also support 10 Gbit/s operation up to 55m. When Cat6a cables are used these will support 10 Gbit/s operation up to 100m.
This is serious stuff only for server-server installations at this time - most PCs have a hard time even driving Gigabit networks. 10Gbase-T defines 10 gigabit Ethernet over copper cables (multiple other PHYs also exist within the 10G Ethernet ecosystem). Originally defined in 802.3an (2006) this has now been consolidated into the base 802.3-2008 spec (available at no cost from the IEEE). The followings notes apply to 10Gbase-T:
The standard allows for auto-negotiation and thus 10Gbase-T will interwork with 10base-T, 100base-TX/T4 and 1000base-T networks but default, obviously, to the highest common speed supported on any given point-to-point connection.
All 4 pairs - 8 connectors are required - it uses 1000base-T (or 100base-T4) wiring.
10Gbase-T requires category 6a wiring defined by ANSI/TIA-568-C.2 (ISO 11801 amendment 2) to support 100m (~330ft) runs. Category 6a wiring is bigger (standard allows up to 0.35 inch cable diameter vs ~0.20 for cat 5e and ~0.23 for cat 6) and currently (2011) around 30% more expensive than cat 6 which is around 50% more expensive than cat 5e.
Category 6 wiring will support 10Gbase-T at up to 55m (~185ft) in electrically quiet environments and up to 37m (~81ft) in electrically noisy environments (such as in cable bundles, elevator shafts, proximity to fluorescent lights). The measurement of electrical noise threshold levels (especially cross-talk) for cat 6a cables is defined by TIA-155-A (and ISO TR 24750) both of which you will have the dubious pleasure of paying for - handsomely.
To maintain 10G speeds needs serious attention to all wiring practices. Minimum bending radii, careful attention to connectors and minimum untwisting of pairs are all crucial - this is not amateur stuff. STP may be a safer option (a view not always shared by the cable suppliers) or optical.
The original PoE specification was 802.3.af (2003) which has been superseded by 802.3at (2009). The primary differences are that the new 802.3at specification includes support for Gigabit LANs and raises the power levels available when using certain cable types. The following notes apply:
The power available at each end-point with 802.3af is 13.0 Watts (W). The maximum input voltage is 44V DC at a current of 350ma which gives a figure of 15.4 W (44 x 350/100) but due to power losses in cables the 13.0 W value is guaranteed even at maximum (100m - ~330ft) runs on category 5, 5e and 6 wiring.
The current 802.3at standard spilts systems into two categories for PoE levels based on the cable type. Type 1 covers cat 5 cables and these remain limited to the 802.3af limits of 13 W. Type 2 covers cat 5e (the actual minimum spec is ANSI/TIA/EIA-568-A-1995 which does cover some late cat 5 cables which only became available some time after 1995) and cat 6 cables and increases the maximum current to 600ma giving a maximum power figure of 44 x 600/100 = 26.4 W. Again due to losses over distance (lower than with Type 1 systems) this gives a figure of 25.5 W which is available even at maximum (100m - ~330ft) runs.
Power Wiring: 802.3at defines two Alternatives (A and B) depending on your wiring system.
If you are using 10base-T or 100base-TX (both only need 2 pairs - 4 connectors) then Alternative A wiring sends power over the signal pairs 1,2 and 3,6 since these may be the only ones connected. Alternative B wiring uses the unused pairs 4,5 and 7,8 for power and will clearly only work for systems which have connected all 4 pairs (and are therefore using 100base-T4 wiring!).
If you are using 100base-T4 or 1000base-T (both need 4 pairs - 8 connectors) then Alternative A wiring sends power over the signal pairs 1,2 and 3,6. Alternative B wiring uses the signal pairs 4,5 and 7,8. Since 100base-T4 and 1000base-T need all 4 wires connected there is no functional difference between Alternative A and B in this case.
RJ45 Male Connector (Plug) and Female Connector (Receptacle)
While most commonly referred as an RJ45, it is a modular connector with the catchy name of 8P8C (8 Positions, 8 Connections). RJ - in case you were wondering - means Registered Jack.
Today the male connector is more normally called a plug and the female connector a receptacle. Historically, the term Registered Jack described both parts of the connector leading to a dazzling (and confusing) array of terms used to describe the separate parts. Thus today's plug was sometimes called the male connector or a jack and the receptacle was called the female part or a wall-jack, or even just a jack. It's complicated.
The receptacle numbering is shown using a FRONT view (left to right, pin 1 - 8). Beware however, receptacles are wired from the REAR and hence the numbering will be inverted. Viewed from the REAR the numbering will be left to right, pin 8 - 1.
We get mail saying 'Help. I've wired it correctly but it does not work'. Here are some simple notes that may help. Remember: it's more difficult that you think.
Use the best crimp tool you can afford or borrow. A cheap magnifying glass can sometimes help enormously. LAN cable testers are available in a range of prices from $10s to $100s of dollars and if you are going to do a lot of wiring are well worth the investment.
The RJ45 connector is the critical connection. Always use the highest quality connectors you can afford and rated for the cable category (using category 5e rated connectors with category 6/6a cable is a stupid economy). The most common cause of connection faults are bad connectors.
There are different connectors for stranded and solid cable and manufacturers do not always do a good job at differentiating them. Spend the time to make sure you have the right connector type. Category 6/6a cables have higher rated (read - more expensive) connectors - always use them - don't penny-pinch. If you use the wrong type of connector the cable may work initially but it will almost certainly fail very quickly - then you'll spend hours debugging the problem. It will all end in tears as mothers throughout the world used to say, and probably still do.
Make and test practice cables until you get it right every time - especially before you destroy a cable you just spent 2 hours fitting.
When installing cable runs ensure the bend radius is within the cable specification and avoid kinks and excessive cable twisting. While the bend radius for Cat5/5e/6 is defined to be approximately 1 inch, in general this should be avoided and a more generous 3 - 6 inches should be allowed unless absolutely necessary.
When cutting the exterior cover of the cable be very careful not to cut the insulation cover of the conductors since this can cause shorts. Bottom line: the cable won't work.
Expose a maximum of 1 inch of individual conductors when preparing the cable for connection.
Untwist the pairs and line up all the conductors according to the wiring standard you are using. Only untwist the exposed connector pairs that lie outside of the exterior cover. Do not allow the untwisting operation to propagate under the exterior cover.
Measure the cable end by placing it beside the RJ45 and trim the conductor ends so they are are all the same length and no conductor wire is visible outside the plastic cover of the RJ45 connector. This procedure also ensures the absolute minimum of untwisted cable is used. Untwisting too much cable can easily cause reduced speed - especially when running Gigabit connections.
Carefully slide the prepared cable into the RJ45 connector making sure the end of the conductors reaches the end of the RJ45 connector.
Place the crimp tool carefully over the connector and make the connection with a single firm squeeze operation.
Visually inspect the connection and test the cable before fitting if possible.
Note: If you are having problems, throwing the crimp tool across the room or beating your head against the nearest wall rarely improves the situation. Inspect the connection with a magnifying glass to see what is going wrong and then go and sit down in a dark room for 30 minutes (aka take a break) before trying again. This sometimes works.
Shielded Twisted Pair (STP) comes in a variety of formats. It is typically used in three applications:
Where there is significant EMI (Electro-Magnetic Induction) in the environment such as that caused by high-powered electric motors (for example, in elevator shafts), fluorescent lighting, heavy industrial equipment, etc. In this case the ethernet signals in the cable require protection against external interference from either adjacent pairs or the environment.
Where there is extremely sensitive electrical/electronic equipment in the surrounding environment or where security requirements demand elimination of eavesdropping possibilities from radiated LAN signals (TEMPEST). In this case the ethernet signals in the shielded cable are contained and prevented from polluting, or escaping into, the external environment.
Where maximum performance - either speed or distance - is required. The problem here is normally Alien Crosstalk (ANEXT) such as can occur in very high speed (gigabit and 10gb) LANs and is caused by interference from signals in adjacent pairs within the cable. As Ethernet speeds continue to increase either fiber or Shielded Twisted Pair is becoming increasingly common. For instance, to reach 100m distances at 10Gb speeds on copper cables will require shielded cable (limited to 55m for UTP).
Shielded cable comes in three broad types with a confusing range of terminology:
Where there is a single foil (FTP - Foil Twisted Pair) or braided (ScTP - Screened Twisted Pair) shield inside the jacket covering all four pairs. Suitable for applications 1 and 2 above.
Where there is a foil shield covering each pair. This is frequently referred to as PiMF (Pairs in Metal Foil) and is designed primarily to eliminate Alien Cross-talk (ANEXT) from adjacent pairs. Suitable for application 3 above.
Where there is a foil shield covering each pair and a (Foil or Braided) shield covering the whole cable. This is frequently referred to as SSTP (Double Shield Twisted Pair) or even PiMF - since many manufacturers also add a jacket shield to foil covered pair cables. Suitable for applications 1, 2 and 3 above.
In almost all cases there is a single ground wire (called a drain) which allows for connection to secondary grounding sources.
The diagram below illustrates the differences:
As ever the standards bodies, with their motto of "Better late than never", have risen to the occasion by defining a cable naming convention after years of profoundly confusing terminology back here in the real world. ISO/IEC 11801 defines a cable description convention whose format is:
Where: X defines the cable covering and which may take the values U - unshielded, F - foil shielded, S - braid shielded. Y defines the pair covering and which may take the same values as X (U - unshielded, F - foil shielded, S - braid shielded) and Z defines the pair properties and typically takes the value TP - twisted pair. Thus, the following table shows a variety of cable types with their bright and shiny ISO/IEC designations:
|ISO/IEC Name||Cable Cover||Pair Cover||Notes:|
Shielded cable of any variety has a greater diameter than UTP and will therefore occupy more space in cable ducting and raceways. In addition shielded cable has a larger bending radius than UTP which may mean new cable paths or raceways are required.
Connecting shielded cable is more complex and time consuming - but not excessively so - than conventional UTP. Manufacturers specifications vary enormously, especially with respect to grounding, and should be followed closely.
In shielded cable installations the plugs and receptacles are typically made of metal and the cable shield (foil or braid) is connected electrically to the connector and thence through the metal receptacle to a suitable ground provided by the end equipment.
Foil covered pairs are typically not connected to ground and thus provide only alien crosstalk immunity from adjacent pairs (ANEXT).
Manufacturers specifications and measurements suggest that shielded cables do NOT create antenna effects - indeed experiments show that UTP creates a substantially greater antenna effect (~40db) over correctly grounded shielded cables.
Even ungrounded shielded cables provide better performance (by ~20db) than conventional unshielded twisted pair (UTP).
The drain wire provides a secondary or auxiliary ground method in cases where metallic path grounding is provided by the connectors and, as such, is optional. In cases where metal connectors are not being used (there is no grounding via the connectors) the drain wire may be used as the primary grounding method and needs to be routed independently to a suitable ground. The drain wire (cable ground) needs to be exposed before the connector is added. This process could require a considerable length of exposed drain wire depending on the location of the ground source. A plastic insulating sheath should be placed over the exposed drain wire to minimize electrical hazards.
In all cases where both ends of a shielded cable are grounded this should be done using a common (building) ground to avoid ground potential loops which, if they exceed 1V, will have serious effects on cable performance. It is also important to note that 'grounding both ends' means final equipment terminations. Intermediate jacks or faceplates must maintain electrical continuity throughout the cable run but are not themselves grounded. TIA-J-STD-607-B (US) defines electrical requirements for cabling infrastructure and differentiates between grounding and bonding. Current practice is that while both cable ends are grounded the connection at the equipment room (TR) end must be bonded to a suitable earthing point. Note: For safety and performance reasons users should be thoroughly familiar with grounding and bonding principles and techniques before installing shielded cable. This app note from AMP provides a detailed explanation.
Problems, comments, suggestions, corrections (including broken links) or something to add? Please take the time from a busy life to 'mail us' (at top of screen), the webmaster (below) or info-support at zytrax. You will have a warm inner glow for the rest of the day.
If you are happy it's OK - but your browser is giving a less than optimal experience on our site. You could, at no charge, upgrade to a W3C STANDARDS COMPLIANT browser such as Mozilla