Crossover cable.

Basically when you connect PC ---> Switch the switch handles the crossover. Now Tx and Rx are going to respectively the wrong wires, which is why you need to use a special cable