I have a cross-over network cable that I used to use to connect two computers using their network cards.
I now want to use that cable to connect a computer to a router. Is this not possible? Why?
Almost all recent network cards support auto-crossover (Auto-MDIX). With this feature, whether a cable is normal or crossover doesn't matter - you can connect two computers using a normal cable, so although I have not tested it I'm sure it would also allow connecting such a card to a router using a crossover cable.
If this feature is not supported by your network card, you'll have to use a 'normal' cable.
The other answers explain current solutions but I kinda felt like going into the original problem cause It allows me to reminisce on my time in the army as a cable dog.....sigh.....
The original problem simplified
Think about it like this. For your two pcs (or any alike devices really) your nic has a set of predefined "standard" dedicated directions for transmitting data and receiving data.(See 10baset and Category 5 for a more detailed look) So with that lets say two wire pairs are set to receive traffic and two are set to send.
|PC1 TX|------>X<-----|PC2 TX|
Because both sides are sending on the same line neither is getting anything. (Think of two water pipes trying to push water on both ends... )
Enter the router
However with a router the connections are set to the reverse.
|PC1 TX|------------>()|RTR RX|
And with smarter routing devices your router can figure out what kind of cable you are using and act accordingly.
Yes this is a a bit of an oversimplification so forgive me if I left something out.
That would depend on a lot of things. Routers are generally made to use "normal" cables to connect to computers as they are wired to work that way. Most modern devices and network cards can use a normal cable as a cross-over cable or a normal cable. Unless all your devices are pre-1998 you should be able to use a cross-over cable with a router.
|show 10 more comments|
You have cat5e or Cat 6 cables. (Straight through (ST) or Cross Over (CO) Your switch is a gigabit switch that has the auto sensing Auto MDX standard. Your NIC card is a Gigabit NIC that has the MDX standard as well.
CO or ST cables do not matter in most cases since the MDX feature will auto correct the connection.
Scenario 2 Same as above but your NIC card does not have MDX standard. PC to switch with any cable. Switch to router any cable. Only the Switch can do the correcting. If the Router and the NIC card do not support MDX standard you would need a CO cable to directly connect the two.
Rule of thumb is CO for like devices BUT with the introduction of Auto-MDX in the Gigabit standard that CISCO rule of thumb is becoming an "old" standard that is being phased out with the newer technology.
The new tech is attempting to address all of the issues with ST and CO cabling and requirements in devices. With Auto-MDIX and other features in new equipment the needs of CO and ST technologies are becoming a thing of the past to help ease the issues in installation and upgrading. Down the road there will be just one cabling (Straight through)for cables.
The new rule of thumb is like this. If the equipment is newer than 2010 AND is Gigabit and the cabling is Cat5e or higher then you have a very good chance of having the ability to utilize Auto-MDIX. At least one device will to the auto crossover.
But it is still smart to keep at least one CO cable handy to test connections between older equipment or equipment you are not sure of. It is also good to know the older requirements and rules of thumb since we are still in a "transition phase" and you will find in many situations that there are a mixture of old equipment and new equipment and you may still need a few CO connections made for compatibility.
I'll have to continue to disagree with everyone here.
My experience and all materials I can find on the Internet except Wikipedia says that barring auto-crossover functionality, a cross-over cable is required to connect a computer to a router directly (i.e. without a switch or hub in between).
I don't know why so many insist otherwise and happily vote up a wrong answer. Maybe I am wrong and everybody else is right, but it doesn't look like the others looked this up or tried it out.
"As is the case with serial cables, Ethernet cables (Cat5 RJ-45) can be straightthrough or crossover. Simply connect the PC to the router via a Cat5 RJ-45 crossover cable. The PC’s and router’s network interface cards should display a green light." www.cs.virginia.edu/~itlab/workshop/Connections.pdf
"Straight-through cable is used to connect:
Crossover cable can be used to connect:
"You should use a crossover cable between a router and a server or, if you have a switch, use a straight-through cable from the router to the switch and from the switch to the server."
"This type of cable is a “regular” or straight-through cable. You use this type of cable to connect a PC to a hub/switch or a router to a switch. [...] So, you can use a crossover cable to connect a PC to a PC, directly, without any hub or switch. You can also use a crossover cable to connect two switches together."
So here's the deal:
Straight cable: host/router to hub/switch
Crossover cable: host/router to host/router, hub/switch to hub/switch
The router belongs in the host/router class of devices, not into some hub/switch/router class.
|show 1 more comment|