The following figure shows the pin outs for building a crossover cable assembly. Different pin outs are used for each end of the cable.