Ethernet Cables Howto

In this page we will give the basic theory of Ethernet cables. We have diagrams of the color order of wires, instructions on how to make your own cables, and instructions on how to test cables you have made.

Basic Theory:

The cables used for Ethernet are usually called "Cat5" or "Cat6" cable. They are similar. A Cat5 cable has 8 wires of which 4 are actually in use.

By looking at a T-568A UTP Ethernet straight-thru cable and an Ethernet crossover cable with a T-568B end, we see that the TX (transmitter) pins are connected to the corresponding RX (receiver) pins, plus to plus and minus to minus. You can also see that both the blue and brown wire pairs on pins 4, 5, 7, and 8 are not used in either standard. So why bother using these wires? It's just easier, basically.

The information listed here is to assist Network Administrators in the color coding of Ethernet cables. Often the color coding of network wires is confusing. With a few simple diagrams we will try to make it clear.

Ethernet Wire Color Order

There are two basic standards for ethernet wiring, called T-568A and T5-68B, which have the same wires but connect them in different order.

Most folks these days use the B style of connection. It's not a good idea to mix "A" and "B" especially within a single cable because the pin order will be wrong. In general, when in doubt, use "B".

Here's the order of wires for the "A" type cable.

T-568A Straight-Through Ethernet Cable

The TIA/EIA 568-A standard which was ratified in 1995, was replaced by the TIA/EIA 568-B standard in 2002. They are similar but if you look at the wire colors you can see that they are not the same. For example, in "A" the first wire is green/white while in "B" it is orange white. Note also the position of the dable end. If you look at it from the wrong side the wire order will be reversed.

Here's the wire order in a "B" type cable.

Both the T-568A and the T-568B standard Straight-Through cables are used most often as patch cords for your Ethernet connections. If you require a cable to connect two Ethernet devices directly together without a hub or when you connect two hubs together, you will need to use a Crossover cable instead.

Here's the wire order in a crossover type cable.

RJ-45 Crossover Ethernet Cable

A good way of remembering how to wire a Crossover Ethernet cable is to wire one end using the T-568A standard and the other end using the T-568B standard. Another way of remembering the color coding is to simply switch the Green set of wires in place with the Orange set of wires. Specifically, switch the solid Green (G) with the solid Orange, and switch the green/white with the orange/white.

Making a Cable

You can buy spools of cable and cable ends to make your own cables. It's pretty easy. You need a crimping tool which usually can also cut the cable.

Here are the parts you need:

Crimping Tool:

crimping tool

These are readily available at computer stores such as Frys or Radio Shack. The one pictures above costs $14 on Amazon.

Cable Ends:

These are also avialable at any computer store. They are a little bit expensive at Radio Shack - about $7 for a little packet of about six. The ones pictured above are about $6 for 100 on Amazon.

Bulk Cable

Big boxes of ethernet cable for making your own cables is available at any good computer store.


Pictured here is a spool of 500 feet of bulk ethernet cable, which will make a lot of short cables. This is copper clad aluminum, which is probably not as good as real copper cable, but cheaper. This box is $32 on Amazon. Aluminum conducts well but is not quite as nice a material as copper.

Procedure for making cables

Ethernet Cable Tips:

Testing a Cable with a Cable Tester

In order to test a cable, you will need the following device, which is a cable tester.


Like the other items shown here, this can be bought at a good computer store like Frys. The unit pictured above cost me $25 on Amazon and so far has worked flawlessly. You need a 9v battery. There are much cheaper units available for less than $3. I don't know if they are any good.

Testing a cable is easy.

Put the smaller device at the far end of your cable. It snaps on. If one end doesn't fit, try the other end of the device.

Then put the tester on the near end of the cable. There are two ethernet jacks, just use whichever one fits.

Now turn on the device.

The lights will turn on one at a time, 1, 2, 3, 4, 5, 6, 7, 8.

If any of the lights skips, that wire is bad.

If the lights come on out of order at the remote end, then you have crossed wires.

That's all there is too it. It's super easy, if you have the right tools.