Cat5 cable
we use straight cable to connect between the router and switch as router and switch are different devices.
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.
straight through
packaging tape
When you want to configure a switch and/or a router.
When you want to configure a switch and/or a router.