You need an Ethernet 4-pair cable with RJ-45 connectors on both ends. Since most of and switches routers have auto-sensing feature so it doesn't matter a cable is straight or crossover. A crossover is a must for a direct computer-to-computer connection. Category 5 cable is mostty used for 10/100Mbps connection, and category 6 cable is the best solution for 1000Mbps (1Gbps) connections.
we use straight cable to connect between the router and switch as router and switch are different devices.
Cat5 cable
when you are connecting same devices like computer to computer or switch to switch or router to router to use cross over cable. when you are connecting different devices like computer to switch or computer to router to use straight cable.
To connect two devices of the same type together. e.g. You would use a crossover cable to connect a router to another router, a switch to another switch or a computer to another computer. If you are connecting diferent devices together, such as a router to a switch, a straight through cable should be used.
I'd say: just plug it in! Routers are to be placed between the modem (cable modem or ISDN or something alike) and the LAN (in other words the switch, which opens up the LAN). All users connect to the internet or another system via the router which will be the default gateway for the LAN. Switchs do not have a special port for routers. It doesn't matter which port you use. Everything else will be configured by the network settings on the router and the clients within the network. (In order to configure the router you might want to use a crossed patch cable and connect directly from your workstation to the router. Modern router provide a homepage through which you configure the device. By using the crossed cable you can be certain not to interrupt the normal network)
A straight cable is used to connect a PC to a hub, switch, or router.
crossover cable
Use a straight through cable, just as you would with a hub or switch.
There are at least two ways. First, you connect the wireless router directly to the cable modem, and then the switch in the wireless router. You have to connect the cable coming from the modem in the wireless router internet port. Second, you connect the wireless router to the switch, again the cable coming from the switch you have to connect on the wireless router internet port. It's better to put the wireless router just after the modem, but it's not required.
packaging tape
When you want to configure a switch and/or a router.
packaging tape