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 time doing really useful things - like pondering the meaning of life!
Notes:
LAN cables are generically called UTP (Unshielded Twisted Pair) 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 5, 5e or 6 UTP which is rated for both 10 and 100mb LAN operation.
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. The only obvious benefit of using stranded cable (which is typically more expensive) is that it has a smaller 'bend- radius' (you can squeeze the cable round tighter corners with lower loss) or 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 plug cables. Beware: Each type of wire, solid or stranded, needs its own connector type.
<rant> There is NO excuse with all the choice of color cable and other techniques available to-day for not being able to visually spot the difference between at least a straight and a crossed cable before you spend 1 hour fitting the wrong cable into your network. For cheap-skates (which includes us) you can get heat-shrink colour tubing in a slew of colours which you fit on each end of the cable beside the connector to indicate the wiring type and standard instead of using different coloured cables. The advantage of this scheme is that when you change your wiring standard you can just change the sleeve colour - you don't have to rip out the cable. Disadvantage: You have to remember to put the tubing on BEFORE the connector! </rant>
You CAN use 100base-TX wiring with a 10base-T network (but not always the other way round). ALWAYS use 100baseTX/T4 wiring standards.
If you are using category 5, 5e or 6 wiring EVERYWHERE 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.
Maximum LAN cable runs are 100 meters (~300ft).
We provide a Cabling FAQ which may provide additional information or background.
We have added an article on mixing 100 MB LAN and Telephony on a single category 5(e) or 5 cable. It can be done but you must be very cautious.
We have updated some 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). A copper standard for 10GB Ethernet is being worked on (802.3an) but as of February 2005 the IEEE was still standardizing away.
Crossed and Straight cables - when to use them.
Category 5 (UTP) colour coding table
10base Straight Cable (PC to HUB/SWITCH)
10baseT Crossed cable (PC to PC or HUB to HUB)
100baseT Straight Cable (PC to HUB/SWITCH)
The following diagram shows the Normal use of Crossed and Straight cables (see also the notes below).
Notes:
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 provide UPLINK ports on Hubs or Switches - these are specially designed to allow the use of a STRAIGHT cable when connecting back-to-back Hubs or Switches. Read the manufacturers documentation carefully.
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)
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 MUST use a Crossed cable.
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+ |
2 | orange | TX- |
3 | white and green | RX+ |
4 | NC | * |
5 | NC | * |
6 | green | RX- |
7 | NC | * |
8 | NC | * |
NOTE: Items marked * are not necessary for 10M LANs (10base-T) but since you will be moving shortly to 100MB 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.
One end RJ45 Male |
Other end RJ45 Male |
1 | 3 |
2 | 6 |
3 | 1 |
4 * | 5 * |
5 * | 4 * |
6 | 2 |
7 * | 8 * |
8 * | 7 * |
NOTES:
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 MUST use a Crossed cable.
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. | strand color | Name |
1 | white and orange | TX_D1+ |
2 | orange | TX_D1- |
3 | white and green | RX_D2+ |
4 | blue | BI_D3+ ** |
5 | white and blue | BI_D3- ** |
6 | green | RX_D2- |
7 | white and brown | BI_D4+ ** |
8 | brown | BI_D4- ** |
We use BLUE for 100baseT straight cables.
NOTES:
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.
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. 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).
NOTES:
1000base-T is the copper base version of the gigabit Ethernet standard defined by 802.3ab which, since it is over 6 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. 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 spec 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. Cat5e and cat6 being higher spec cables will clearly support Gigabit Ethernet.
Maximum runs are the standard 100m (~300ft).
Gigabit Ethernet uses all 4 pairs (8 conductors). The transmission scheme is radically different (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.
RJ45 Male Connector
We get mail saying 'Help. I've wired it correctly but it does not work'. Here are some simple notes that may help. Remember its more difficult that you think.
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.
tech home
web stuff
dom stuff
css stuff
language stuff
regex stuff
rfc stuff
protocol stuff
cable stuff
lan wiring
rs232 wiring
howto stuff
wireless stuff
ascii codes
data rate stuff
telephony stuff
mechanical stuff
pc stuff
electronic stuff
tech links
open guides
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
ISO (International)
ANSI (US)
DIN (Germany)
ETSI (EU)
BSI (UK)
AFNOR (France)
TIA (US)
EIA (US)
ITU (International)
IEEE (US)
ETSI (EU)
OFTEL (UK)