Networking Tutorials

Straight-Through vs Crossover Cable Explained

The difference is internal wiring: a straight-through cable wires both ends identically (for connecting unlike devices, like a PC to a switch); a crossover cable swaps the transmit/receive pairs (for connecting like devices, like switch to switch) — though modern auto-MDIX has made this mostly a non-issue.

Side by side

FactorStraight-ThroughCrossover
WiringBoth ends identical (T568B/T568B)One end T568A, other T568B
Classic usePC to switch, router to switchSwitch to switch, PC to PC
TodayAuto-MDIX makes cable type mostly irrelevantSame — rarely needed manually

The details that matter

Historically, connecting unlike devices (a PC's NIC to a switch port) used a straight-through cable, while connecting like devices (switch to switch, PC to PC directly) needed a crossover cable to swap the transmit and receive pairs so signals lined up correctly. Modern Ethernet ports implement auto-MDIX, which automatically detects and adjusts — so today you can use either cable type almost anywhere and it just works. The concept remains a common exam/interview question even though it's rarely a practical concern anymore.

Frequently asked questions

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

A straight-through cable has identical wiring on both ends (for unlike devices); a crossover cable swaps the transmit/receive pairs (for like devices).

Do I still need to worry about cable type today?

Rarely — auto-MDIX on modern network ports automatically detects and adjusts, so either cable type typically works.

When would you use a crossover cable classically?

Connecting two like devices directly — such as switch to switch, or PC to PC without a switch in between.

VS
Vipul Sir — Lead Instructor, Attila Technologies20+ years in Cisco networking. Teaching CCNA, CCNP, CCIE & CyberOps in Ahmedabad since 2004.

Want hands-on training?

Learn this on real Cisco lab devices with placement support at Attila Technologies, Ahmedabad.

Start your networking career with Attila Technologies

Hands-on Cisco training, real lab devices and placement support in Ahmedabad.