Ethernet crossover cable
|This article needs additional citations for verification. (June 2011) (Learn how and when to remove this template message)|
An Ethernet crossover cable is a type of Ethernet cable used to connect computing devices together directly. It is most often used to connect two devices of the same type: e.g. two computers (via network interface controller) or two switches to each other. By contrast, patch cables or straight through cables are used to connect devices of different types, such as a computer to a network switch or hub.
Many devices today support Auto MDI-X capability, wherein a patch cable can be used in place of a crossover cable, or vice versa, and the receive and transmit signals are reconfigured automatically to yield the expected result.
10BASE-T and 100BASE-TX
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 TIA/EIA-568 Wiring). Such a cable will work for 10BASE-T or 100BASE-TX.
The polarity of each pair is not swapped, but the pairs crossed as a unit: the two wires within each pair are not crossed.
1000BASE-T and faster
In a departure from both 10BASE-T and 100BASE-TX, 1000BASE-T and faster use all four cable pairs for simultaneous transmission in both directions through the use of adaptive equalization and a five-level pulse amplitude modulation (PAM-5) technique. For this reason, there are no dedicated transmit and receive pairs, and consequently, crossover cables are never required for 1000BASE-T, 2.5GBASE-T, 5GBASE-T, 10GBASE-T, and 40GBASE-T communication. From 1000BASE-T onwards the physical medium attachment sublayer (PMA) provides identification of each pair and usually continues to work even over cable where the pairs are unusually swapped or crossed.
However, when connecting an 100BASE-TX or 10BASE-T device to a faster port, a crossover may still be required in very rare situations. Since there are both transmitters and receivers present on a 1000BASE-T+ port on all pairs anyway, the Auto MDI-X function requires extremely little logic and is usually present.
Crossover cable pinouts
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 identically according to the layout in either the Connection 1 column or the Connection 2 column.
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.
For most optical fiber variants of Ethernet, fibers are used in pairs with one fiber for each direction. Obviously, the one transmitter needs to be connected to the other receiver and vice versa. For this, fiber patch cables with duplex connectors are normally configured as crossover as well as the on-premises wiring. Thus, a simple connection with two patch cables at each end and a section of fixed cable in the middle has got three crossovers in total, resulting in a working connection. Patch cable crossovers can usually be reconfigured very easily by swapping the connectors within a duplex bracket if required.
Introduced in 1998, this made the distinction between uplink and normal ports and manual selector switches on older hubs and switches obsolete. If one or both of two connected devices has the automatic MDI/MDI-X configuration feature, there is no need for crossover cables.
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.
- Charles E. Spurgeon (2000). Ethernet: the Definitive Guide. O'Reilly Media. p. 247. ISBN 978-1-56592-660-8.
- IEEE 802.3-2012 40.8.2 Crossover Function
- IEEE 802.3-2012 40.1.4 Signaling
- Daniel Dove (February 1998). "1000BASE-T Automatic Crossover Algorithm" (PDF). Presentation to IEEE 802.3ab working group. Retrieved June 17, 2011.
- Clause "40.4.4 Automatic MDI/MDI-X Configuration" in IEEE 802.3-2008: ("IEEE 802.3-2008, Part 3" (PDF). 2010-06-22. p. 192. Retrieved 2011-02-07.
Implementation of an automatic MDI/MDI-X configuration is optional for 1000BASE-T devices.)