Ethernet Physical Media and Cabling

Ethernet over UTP sends data as electricity on pairs of copper wires, one pair per direction for 10BASE-T and 100BASE-T. For that to work the wires must land on the right pins: NICs transmit on pins 1 and 2 and switches receive on them, so a PC-to-switch link uses a straight-through cable and two like devices need a crossover.

In Daveth Pro (Network)8 min video

By , founder of Daveth · Updated

Opening frame of the video walkthrough of Ethernet Physical Media and Cabling

Watch this lesson

8 min · Video walkthrough

In Daveth Pro (Network)

The full 8 min walkthrough is in Daveth Pro (Network). See what the plan opens

What this page answers

What is the difference between a straight-through and a crossover cable?

A straight-through cable connects each pin to the same pin at the other end, 1 to 1 and 2 to 2. A crossover connects one end's transmit pins to the other end's receive pins, for two devices that transmit on the same pins. Read it in “Which wires carry which way”

Which pins does Ethernet use?

For 10BASE-T and 100BASE-T, NICs transmit on pins 1 and 2 and receive on 3 and 6; switches do the opposite. 1000BASE-T uses all four pairs. Read it in “Which wires carry which way”

Which wires carry which way

The three most commonly used Ethernet standards over UTP are 10BASE-T (Ethernet), 100BASE-T (Fast Ethernet, or FE) and 1000BASE-T (Gigabit Ethernet, or GE). 10BASE-T and 100BASE-T use two pairs: one pair for each direction. For that to work, the wires have to land on the right pins at both ends. The transmitter at one end has to send on the pins whose wires reach the receiver at the other.

So there's a convention. Ethernet NICs transmit on pins 1 and 2, and receive on pins 3 and 6. Switches do the opposite: they receive on 1 and 2, and transmit on 3 and 6. (Pins 3 and 6 are one pair, split either side of 4 and 5.) The cable's pinout is its wiring: which colour wire sits in each of the eight numbered pin positions, at each end. From here on, "10/100" means a port that runs at 10 or 100 Mbps.

A straight-through cable connects each pin to the same pin at the other end: 1 to 1, 2 to 2, 3 to 3, 6 to 6. From a PC to a switch, that's exactly right: the PC's transmit pins, 1 and 2, reach the switch's receive pins, 1 and 2, and the switch's transmit pins, 3 and 6, reach the PC's receive pins. A straight-through cable works whenever the two ends transmit on different pairs.

But connect two switches, and both transmit on 3 and 6. A straight-through cable would join transmitter to transmitter. So that link needs a crossover cable, which crosses each end's transmit pair over to the other end's receive pins: 3 and 6 on one end to 1 and 2 on the other, and 1 and 2 to 3 and 6.

Network drawing: PC, Switch, 1, Tx, 2, 3, Rx, 6, 4, 5, 7, 8, Each line is one wire, from a pin at one end to a pin at the other. An arrowhead marks the receiving end. Tx is the device's transmit pins, Rx its receive pins. Two wires make each pair: 1 and 2, 3 and 6, and for Gigabit also 4 and 5, 7 and 8. The colours only tell the pairs apart; they aren't the wires' real colours.

Two switches on a straight-through cable: both talking on the same pair, and the other pair sitting in silence.

It's basically like two speaking tubes between two rooms: one runs from your mouth to their ear, the other from their mouth to your ear. Fit them mouth to mouth, and you both shout while nobody hears. (Where it stops: tubes carry sound, the pairs carry electricity, and at Gigabit speeds each pair carries both directions.)

So the choice needs one fact about each end: does it transmit on 1,2, like a NIC, or on 3,6, like a switch? Then:

  • Crossover cable: if the two ends transmit on the same pin pair.
  • Straight-through cable: if they transmit on different pin pairs.
Transmits on pins 1,2Transmits on pins 3,6
PC NICHub
RouterSwitch
AP (Ethernet interface)–

In the new office, that means straight-through cables from the desk PCs, from the meeting-room AP and from R1 to the office switch, and a crossover between the office switch and the small desk switch in the printer's corner. In a bigger building, the same pattern repeats: straight-through to the PCs, crossover between the switches.

Network drawing: straight-through, crossover, printer's corner, Desk PC, Office switch, R1, AP, Desk SW

The new office's cables. Different transmit pairs get straight-through; the two switches get a crossover.

If you've plugged in the "wrong" cable before and the link still worked, there's a reason. Many switches have a feature called auto-mdix: they notice the wrong cable and change their own logic so the link works anyway. Handy, but it doesn't change which cable is correct, and that's what you're asked to identify.

1000BASE-T: four pairs, both ways

Gigabit Ethernet over UTP, 1000BASE-T, is different in two ways. It needs all four pairs. And its electronics let both ends transmit and receive at the same time on every pair. The pinouts work almost the same way: a straight-through cable still matches every pin, adding the pairs at pins 4,5 and 7,8, and a Gigabit crossover crosses 1,2 with 3,6 as before, and 4,5 with 7,8 as well.

The cable passed its 100 Mbps interview on two pairs. Gigabit asks the other two to turn up for work.