Network Cable Types

What type of cable is used to connect devices of different types?

Most devices of different types connect with a straight-through patch cable. Learn when a crossover cable or adapter is needed instead, and why it matters.

On this page
  1. The short answer
  2. Straight-through cables
  3. Crossover cables
  4. When an adapter or a different cable is needed
  5. Quick checks before you buy

The short answer

Most devices of different types connect with a straight-through Ethernet patch cable, usually Cat5e or Cat6 twisted pair. Modern equipment detects the wiring automatically, so the same cable works between a computer and a switch, a switch and a router, or a printer and a wall jack. If the devices do not have matching network ports, you need an adapter or a different cable altogether.

Straight-through cables

A straight-through cable has the same wire order at both ends, using either the T568A or the T568B standard. Most installations use T568B on both ends. The key point is consistency: use one standard throughout, so both ends match.

If you are wondering what color wires for internet cables should use, the color order matters more than the colors themselves. Both ends of a straight-through cable follow the same sequence, which is why it works between unlike devices.

Crossover cables

A crossover cable swaps the transmit and receive pairs at one end. Crossovers were once needed to connect like devices directly, such as two computers or two switches, because both sides expected to send on the same pins. Most modern network ports can detect and adjust this automatically, a feature called auto-MDI-X, so crossover cables are rarely needed today.

If you are unsure whether a port supports this, check the device’s documentation. A straight-through cable is the safer first choice for most modern gear.

When an adapter or a different cable is needed

An Ethernet cable only connects Ethernet ports. If two devices use different connectors or interfaces, such as USB, serial, or fiber, you need an adapter, a converter, or a cable made for that interface. A media converter, for example, links a copper Ethernet run to a fiber run.

A cable only connects two devices. If you are asking what device is used to connect different networks, that job belongs to a router, not a cable. A router sits between networks and directs traffic between them.

Quick checks before you buy

Confirm that each port is a network port (RJ45) and check its supported speed. Use one wiring standard throughout your installation, label both ends of each cable, and test the link after connecting it. If a link does not come up, a cable tester can show whether a pair is faulty or miswired.

The complete guide to network cable types

The Four Types of Network Cable
Read the guide

Keep exploring

Guides from other topics

All topics →