LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-01-2009, 03:01 PM   #1
abolishtheun
Member
 
Registered: Mar 2008
Posts: 183

Rep: Reputation: 31
when does one need a crossover cable?


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?
 
Old 01-01-2009, 03:38 PM   #2
fuzzyworm
Member
 
Registered: Sep 2003
Location: Stroud, UK
Distribution: Kubuntu, Debian
Posts: 149

Rep: Reputation: 15
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:

http://en.wikipedia.org/wiki/Ethernet_crossover_cable

Hope this helps

Last edited by fuzzyworm; 01-01-2009 at 03:40 PM. Reason: You never mentioned Gigabit
 
Old 01-01-2009, 03:50 PM   #3
tommylovell
Member
 
Registered: Nov 2005
Distribution: Raspbian, Debian, Ubuntu
Posts: 380

Rep: Reputation: 103Reputation: 103
What fuzzyworm said is correct.

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!
 
Old 01-02-2009, 07:37 AM   #4
bullium
Member
 
Registered: Aug 2003
Location: Ohio
Distribution: Ubuntu 12.04, Mint 13, RHES 5.5, RHES 6
Posts: 146

Rep: Reputation: 17
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
 
Old 01-02-2009, 10:26 AM   #5
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,138
Blog Entries: 6

Rep: Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827
Little more info on ethernet straight and crossover cables.
And other cables too.

http://www.hardwarebook.info/
http://www.hardwarebook.info/Etherne..._Straight_Thru
http://www.hardwarebook.info/Etherne...e-T4_Crossover
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Crossover cable WolfCub Linux - Hardware 20 09-05-2009 01:20 PM
network with cable crossover blackangel Linux - Networking 2 11-05-2006 05:04 PM
crossover cable Fuzia Linux - Networking 3 04-11-2006 06:49 AM
Crossover cable eggoz Linux - Networking 4 03-14-2004 12:49 PM
Network using crossover cable Great Mister Linux - Newbie 7 12-16-2003 07:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration