Hi
See this link:
http://www.zytrax.com/tech/layer_1/cables/tech_lan.htm
This shows the correct wiring scheme.
The color code can follow one of two different standards: 568A and 568B
568B is the common one but it doesn't really matter which you choose, electrically they are the same.
Straight thru cables are wired matching pin# to pin#.
Crossover cables are wired differently. Basically, the crossover cable swaps the transmit and receive pins on one end. See the diagram on the link.
If you need to connect similar devices together (router to router, or, switch to switch, for example) you have to use a crossover cable.
If connecting different devices(router to switch, PC to switch) use a straight thru cable. The only exception is if you want to directly connect a PC to a router,
then the cable must be a crossover cable.
10/100 (100BaseTx) and Gigabit Ethernet (1000BaseT) cables are wired the same way but there are more Twists/inch for the gigabit cable to help prevent crosstalk at the higher speed.
The testing specification for each is different as well.
The important thing is to wire all conductors to each respective pin as shown in the diagrams. Try to keep the wires from un-twisting as much as possible, otherwise crosstalk
will be a problem (will cause CRC errors).
Hope this helps..
eT