Typically, when connecting different types of devices, use a straight-through cable. And when connecting the same type of device, use a crossover cable.
1. Straight-through UTP Cables
A straight-through cable has connectors on each end that are terminated the same in accordance with either the T568A or T568B standards.
Identifying the cable standard used allows you to determine if you have the right cable for the job. More importantly, it is a common practice to use the same color codes throughout the LAN for consistency in documentation.
Use straight-through cables for the following connections:
- Switch to a router Ethernet port
- Computer to switch
- Computer to hub