This question already has an answer here:

I am kind of new in networking.

I want to ask a question about a distinguishment of 2 connection-

  1. RJ45 8-Pin

RJ45 8-Pin

  1. Straight Connection

Straight Connection

I am astonished why RJ45 8-Pin connection was configured from the beginning as the connection is a little wired while Straight Connection is comparatively easy to understand and connect.

I am not finding a reasonable answer I am kind of novice in there.

Can anyone please help?

marked as duplicate by Ron Maupin Jan 10 at 14:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


There are both cross and straight connections. In the past it was important to use specifically one or another - depending if you connect two devices directly or via hub/switch. Today most NICs and switches do auto discovery of the cable type and act accordingly

  • The term used in the industry for the feature is - or was - Auto-MDI/MDI-X. Some switches and hubs from back then even had a hardware switch to toggle one of the ports between MDI and MDI-X modes. As you say, the feature was more important in the days of 10BASE-T and 100BASE-TX than it is today. Today's 1000BASE-T ("Gigabit over copper UTP") needs all four wire pairs, and support for Auto-MDI/MDI-X is mandatory. – Marc 'netztier' Luethi Jan 10 at 7:25

Historically, the first twisted-pair Ethernet, 10BASE-T, was designed to use the already commonly deployed voice-grade cabling (Cat-3) with straight-through pinout. (10BASE-T's predecessor StarLAN wasn't offically Ethernet)

However, connecting two network devices requires the transmitter on the one side to talk to the receiver on the other side. To avoid additional crossover cables, the specification called for one pinout on the "host" side (MDI for PC NICs, routers, ...) and a pinout with an internal signal crossover on the "network" or concentrator side (MDI-X for repeater hubs, switches). If you now wanted to connect to PCs (MDI to MDI) or a switch and a hub (MDI-X to MDI-X) you still needed a crossover cable.

Today, nearly all ports support automatic pair-selection (Auto MDI-X) that you can mostly forget about crossover cables.

Note the difference to optical fiber: since this hasn't been used for analog signaling, fiber uses a crossover in every connection - plenum and patch. Usually, you've got an odd number of cable segments, so receiver and transmitter are crossed as required.

  • Even if there are not an odd number of cable segments you still get an odd number of crossovers in Fiber, because the couplers are crossed as well as the cables. – Peter Green Jan 10 at 7:24
  • @PeterGreen Couplers? Do you mean the transceivers? No, they're all the same. – Zac67 Jan 10 at 18:01

DCE vs DTE. Ethernet (10base-T and 100base-T) has a TX pair and an RX pair; TX has to go to RX and v.v. When connecting like kind devices -- hub to hub, computer to computer, a crossover cable is necessary because they have the same pinout; a straight cable would connect TX to TX, etc.

Most modern networking gear supports "auto-mdix", which means they can logically swap their tx/rx pairs. (old hubs/switches had a switch that would physically swap the pairs.) Gigabit (and beyond) technology uses all four pairs for both TX and RX.


As I understand it.

Originally RJ connectors were designed for telephone standards. One design feature was you could put a smaller plug in a larger socket and it would connect to the first pairs. To achieve this the first pair was on the center pins, the second pair on the pins straddling the center, the third pair straddling those and so-on.

Unfortunately this was not good for high speed data. The splitting and straddling of pairs was bad for signal integrity and this got worse as the pair count grew. However there was a desire for backwards compatibility with basic phone applications. This resulted in a compromise pair layout. The first pair was in the center, the second pair straddled the center, but the third and fourth pairs did not straddle any other pairs instead being placed with one pair down each side.

10BASE-T implementations chose to use this layout and chose to use the Second and Third pairs. Presumably the second and third pairs were chosen in an attempt to allow coexistence with basic voice service on the first pair.

Ok, that explains the pin allocations but what about crossovers? Well 10Base-T and 100Base-TX use one pair in each direction. For correct operation the transmitter at one end must be connected to the receiver of the other. That means we need to cross-over transmit and receive somewhere. Most of the time this was done inside the equipment, network cards used "MDI" pinout while hubs used MDIx pinout. So they could be connected with a straight cable. From time to time though it was nessacery to connect a MDI port to a MDI port or a MDIx port to a MDIx port, so a crossover cable was needed.

Later auto-MDIx came along allowing automatic switching, so it did not matter if you used a crossover or straight-through cable.

Not the answer you're looking for? Browse other questions tagged or ask your own question.