Monday, October 20, 2008

Cross Cabling vs Straight-Through Cabling: Detailed Guide and Wiring Steps























When setting up a network, knowing the difference between cross-over cables and straight-through cables is crucial for ensuring devices communicate properly. Both types use Ethernet cables with RJ45 connectors, but the wiring inside differs.


What is Straight-Through Cabling?

Straight-through cables are used to connect different types of devices, such as:

  • A computer to a switch or hub

  • A switch to a router

  • A computer to a router

In a straight-through cable, the wires inside the cable follow the same wiring standard on both ends (usually T568A or T568B).

When to Use Straight-Through Cable:

  • Connecting hosts (PCs, printers) to network devices (switches, routers)

  • Connecting switches to routers


What is Cross-Over Cabling?

Cross-over cables are used to connect similar devices directly without a switch or hub in between, such as:

  • Connecting one computer directly to another computer

  • Connecting one switch to another switch

  • Connecting one router to another router

In a crossover cable, the transmit and receive pairs are crossed — meaning one end follows the T568A standard and the other end follows T568B.

When to Use Cross-Over Cable:

  • Direct device-to-device connection of the same type (PC to PC, switch to switch)

  • In older network devices without auto-MDI/MDIX support (modern devices often auto-detect and adjust)


Understanding T568A and T568B Wiring Standards

Both standards define the order of the wires inside an Ethernet cable:

PinT568AT568B
1White/GreenWhite/Orange
2GreenOrange
3White/OrangeWhite/Green
4BlueBlue
5White/BlueWhite/Blue
6OrangeGreen
7White/BrownWhite/Brown
8BrownBrown

How to Make a Straight-Through Cable (T568B on both ends)

Materials Needed:

  • Ethernet cable (Cat5e, Cat6, etc.)

  • RJ45 connectors

  • Crimping tool

  • Wire stripper/cutter

Step-by-Step:

  1. Strip about 1-1.5 inch of outer cable jacket off both ends of the cable to expose the wires.

  2. Untwist the pairs and arrange the wires in the T568B order:

    1. White/Orange

    2. Orange

    3. White/Green

    4. Blue

    5. White/Blue

    6. Green

    7. White/Brown

    8. Brown

  3. Flatten the wires in this order and trim the ends evenly about 1/2 inch from the jacket.

  4. Insert the wires carefully into the RJ45 connector, making sure each wire goes into its respective channel.

  5. Use the crimping tool to crimp the connector tightly to the cable.

  6. Repeat the process on the other end of the cable, using the exact same wiring order (T568B).

  7. Test the cable with a cable tester to ensure correct wiring.


How to Make a Cross-Over Cable (T568A on one end, T568B on the other)

Step-by-Step:

  1. Strip the cable jacket off both ends as before.

  2. Prepare one end with the T568A wiring standard:

    1. White/Green

    2. Green

    3. White/Orange

    4. Blue

    5. White/Blue

    6. Orange

    7. White/Brown

    8. Brown

  3. Prepare the other end with the T568B wiring standard:

    1. White/Orange

    2. Orange

    3. White/Green

    4. Blue

    5. White/Blue

    6. Green

    7. White/Brown

    8. Brown

  4. Flatten the wires and trim as before, then insert into RJ45 connectors and crimp on both ends.

  5. Test the cable with a tester to verify the crossover.


Quick Reference Table: Which Cable to Use?

Devices ConnectingCable Type
PC to SwitchStraight-Through
Switch to RouterStraight-Through
PC to PCCross-Over
Switch to SwitchCross-Over
Router to RouterCross-Over

Tips for Modern Networks

  • Many modern devices support Auto-MDI/MDIX, which automatically adjusts for crossover or straight-through cables.

  • However, knowing the difference and how to make each cable is essential for troubleshooting and legacy equipment.


Summary

  • Straight-through cables use the same wiring standard on both ends (commonly T568B).

  • Cross-over cables use T568A on one end and T568B on the other.

  • Use straight-through cables to connect different devices (PC to switch), cross-over cables to connect similar devices directly (PC to PC).

  • Always test cables after crimping to avoid connectivity issues.