Ethernet crossover cable

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Gigabit T568B crossover cable ends

An Ethernet crossover cable is a type of Ethernet cable used to connect computing devices together directly. Normal straight through cables were used to connect from a host network interface controller (a computer or similar device) to a network switch, hub or router. A cable with connections that "cross over" was used to connect two devices of the same type: two hosts or two switches to each other.

Owing to the inclusion of Auto MDI-X capability, modern implementations of the Ethernet over twisted pair standards no longer require the use of crossover cables.

Overview[edit]

8P8C modular crossover adapter

The 10BASE-T and 100BASE-TX Ethernet standards use one wire pair for transmission in each direction. This requires that the transmit pair of each device be connected to the receive pair of the device on the other end. The 10BASE-T standard was devised to be used with already existing twisted pair cable installations with straight-through connections, and so it required a simple scheme for plugging devices together.

When a terminal device is connected to a switch or hub, this crossover is done internally in the switch or hub. A standard straight through cable is used for this purpose where each pin of the connector on one end is connected to the corresponding pin on the other connector.

One terminal may be connected directly to another without the use of a switch or hub, but in that case the crossover must be done in the cabling. Since 10BASE-T and 100BASE-TX use pairs 2 and 3, these two pairs must be swapped in the cable. This is a crossover cable. A crossover cable may also be used to connect two hubs or two switches on their upstream ports.

Because the only difference between the T568A and T568B pin/pair assignments are that pairs 2 and 3 are swapped, a crossover cable may be envisioned as a cable with one modular connector following T568A and the other T568B (see Jack crossover wiring). Such a cable will work for 10BASE-T or 100BASE-TX. Gigabit Ethernet (and an early Fast Ethernet variant, 100BASE-T4) use all four pairs and also requires the other two pairs (1 and 4) also to be swapped.

The polarity of each pair is not swapped, but the pairs crossed as a unit: the two wires within each pair are not crossed.[1]

Crossover cable pinouts[edit]

Crossover cable connecting two MDI ports

In practice, it does not matter if non-crossover Ethernet cables are wired as T568A or T568B, just so long as both ends follow the same wiring format. Typical commercially available "pre-wired" cables can follow either format depending on the manufacturer. What this means is that one manufacturer's cables are wired one way and another's the other way, yet both are correct and will work. In either case, T568A or T568B, a normal (un-crossed) cable will have both ends wired according to the layout in the Connection 1 column.

Although the Gigabit crossover is defined in the Gigabit Ethernet standard,[2] in practice all Gigabit PHYs feature an auto MDI-X capability and are designed for compatibility with the existing 100BASE-TX crossovers. The IEEE-specified Gigabit crossover is generally seen as unnecessary.

Certain equipment or installations, including those in which phone and/or power are mixed with data in the same cable, may require that the "non-data" pairs 1 and 4 (pins 4, 5, 7 and 8) remain un-crossed.

Two pairs crossed, two pairs uncrossed
10BASE-T or 100BASE-TX crossover
Pin Connection 1: T568A
RJ-45 TIA-568A Left.png
Connection 2: T568B
RJ-45 TIA-568B Right.png
Pins on plug face
signal pair color signal pair color
1 BI_DA+ 3 Pair 3 Tip
white/green stripe
BI_DB+ 2 Pair 2 Tip
white/orange stripe
Rj45plug-8p8c.png
2 BI_DA- 3 Pair 3 Ring
green solid
BI_DB- 2 Pair 2 Ring
orange solid
3 BI_DB+ 2 Pair 2 Tip
white/orange stripe
BI_DA+ 3 Pair 3 Tip
white/green stripe
4 1 Pair 1 Ring
blue solid
1 Pair 1 Ring
blue solid
5 1 Pair 1 Tip
white/blue stripe
1 Pair 1 Tip
white/blue stripe
6 BI_DB- 2 Pair 2 Ring
orange solid
BI_DA- 3 Pair 3 Ring
green solid
7 4 Pair 4 Tip
white/brown stripe
4 Pair 4 Tip
white/brown stripe
8 4 Pair 4 Ring
brown solid
4 Pair 4 Ring
brown solid
Gigabit T568A crossover
All four pairs crossed
10BASE-T, 100BASE-TX, 100BASE-T4 or 1000BASE-T crossover (shown as T568A)
Pin Connection 1: T568A Connection 2: T568A Crossed Pins on plug face
signal pair color signal pair color
1 BI_DA+ 3 Pair 3 Tip
white/green stripe
BI_DB+ 2 Pair 2 Tip
white/orange stripe
Rj45plug-8p8c.png
2 BI_DA- 3 Pair 3 Ring
green solid
BI_DB- 2 Pair 2 Ring
orange solid
3 BI_DB+ 2 Pair 2 Tip
white/orange stripe
BI_DA+ 3 Pair 3 Tip
white/green stripe
4 BI_DC+ 1 Pair 1 Ring
blue solid
BI_DD+ 4 Pair 4 Tip
white/brown stripe
5 BI_DC- 1 Pair 1 Tip
white/blue stripe
BI_DD- 4 Pair 4 Ring
brown solid
6 BI_DB- 2 Pair 2 Ring
orange solid
BI_DA- 3 Pair 3 Ring
green solid
7 BI_DD+ 4 Pair 4 Tip
white/brown stripe
BI_DC+ 1 Pair 1 Ring
blue solid
8 BI_DD- 4 Pair 4 Ring
brown solid
BI_DC- 1 Pair 1 Tip
white/blue stripe
Gigabit T568B crossover
All four pairs crossed
10BASE-T, 100BASE-TX, 100BASE-T4 or 1000BASE-T crossover (shown as T568B)
Pin Connection 1: T568B Connection 2: T568B Crossed Pins on plug face
signal pair color signal pair color
1 BI_DA+ 2 Pair 2 Tip
white/orange stripe
BI_DB+ 3 Pair 3 Tip
white/green stripe
Rj45plug-8p8c.png
2 BI_DA- 2 Pair 2 Ring
orange solid
BI_DB- 3 Pair 3 Ring
green solid
3 BI_DB+ 3 Pair 3 Tip
white/green stripe
BI_DA+ 2 Pair 2 Tip
white/orange stripe
4 BI_DC+ 1 Pair 1 Ring
blue solid
BI_DD+ 4 Pair 4 Tip
white/brown stripe
5 BI_DC- 1 Pair 1 Tip
white/blue stripe
BI_DD- 4 Pair 4 Ring
brown solid
6 BI_DB- 3 Pair 3 Ring
green solid
BI_DA- 2 Pair 2 Ring
orange solid
7 BI_DD+ 4 Pair 4 Tip
white/brown stripe
BI_DC+ 1 Pair 1 Ring
blue solid
8 BI_DD- 4 Pair 4 Ring
brown solid
BI_DC- 1 Pair 1 Tip
white/blue stripe

Automatic crossover[edit]

Introduced in 1998, this made the distinction between uplink and normal ports and manual selector switches on older hubs and switches obsolete.[3] If one or both of two connected devices has the automatic MDI/MDI-X configuration feature, there is no need for crossover cables.

Although Auto MDI-X was specified as an optional feature in the 1000BASE-T standard,[2] in practice it is implemented widely on most interfaces.

Besides the eventually agreed upon Automatic MDI/MDI-X, this feature may also be referred to by various vendor-specific terms including: Auto uplink and trade, Universal Cable Recognition and Auto Sensing.

See also[edit]

References[edit]

  1. ^ Charles E. Spurgeon (2000). Ethernet: the Definitive Guide. O'Reilly Media. p. 247. ISBN 978-1-56592-660-8. 
  2. ^ a b Clause "40.4.4 Automatic MDI/MDI-X Configuration" in IEEE 802.3-2008: ("IEEE 802.3-2008, Part 3". 2010-06-22. p. 192. Retrieved 2011-02-07. Implementation of an automatic MDI/MDI-X configuration is optional for 1000BASE-T devices. )
  3. ^ Daniel Dove (February 1998). 802.3 "1000BASE-T Automatic Crossover Algorithm". Presentation to IEEE 802.3ab working group. Retrieved June 17, 2011.