Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When does one need a crossover cable? I have two machines in front of me connected directly (no switch/hub/etc) via a standard ethernet cable; I gave one an IP of 192.168.123.1, the other .2, and they are communicating just fine... is it just that if I want full duplex (ie, 100mbps in both directions for a 100mbps cable at the same time) I need a crossover cable?
A lot of modern ethernet devices have automatic switches in to flick between crossover and standard. The fact that the machines are communicating at all means that they probably do not require a crossover cable.
10/100 ethernet only requires 4 of the 8 cores, so the other 4 are redundant, and in some systems are used to double up cables. With the advent of Gigabit LAN, these cores became used.
However, in a standard crossover cable for 10/100 (which is what you have), the extra 4 cores are not crossed over, so if you need a crossover cable for a Gigabit LAN (which is not what you said you had), then you would need a proper Gigabit crossover cable. For further information, have a look here:
Also, see the Wikipedia article on "Medium dependent interface" for more info.
This is independent (and usually prior to) speed and duplex negotiation. A direct cable connection as you have may, under certain circumstances, actually hinder those negotiations!
Distribution: Ubuntu 12.04, Mint 13, RHES 5.5, RHES 6
Posts: 146
Rep:
Simple rule of thumb on whether you need a crossover cable or not is as follows:
Like devices require a crossover cable and unlike devices require a straight through cable.
Examples:
Switch <----> Switch (crossover cable)
PC <----> PC (crossover cable)
Switch <----> PC (straight through cable)
Router <----> Switch (crossover cable)
As the previous posters stated; a lot of newer devices will automagically compensate for having the wrong type of cable.
Last edited by bullium; 01-02-2009 at 07:41 AM.
Reason: typo
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.