LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-07-2006, 08:44 PM   #1
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419

Rep: Reputation: 31
Can an enthernet cable be split?


Okay, this isn't a Linux question and it's actually pretty dumb to ask. I know this isn't possible, but can anyone explain why it's not possible to split an ethernet cable at one end for two machines to share one port on a switch or hub. I know that it's easier to just run two cable, but is this not possible because TCP/IP will get confused?

Sorry for the silly question. It's a little debate at work and before we get stupid and decide to make cable I just want to know why it's not going to work... lol
 
Old 02-07-2006, 09:08 PM   #2
accessrichard
Member
 
Registered: Apr 2005
Distribution: Fedora Core (latest version)
Posts: 156

Rep: Reputation: 30
I am not sure I understand your questions, but when you say "split" the cable, I can give you a general response to why it is not ok to split a cable. (unless connecting it to a patch panel or something)

It's twisted pair, meaning that all the wires have to be twisted in order to reduce electromagnetic induction until the very end connection, else the packets running through the cables will be all messed up.
 
Old 02-07-2006, 09:39 PM   #3
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You can't split the cable because the two computers will be trying to talk on top of each other. With ethernet, two pins are used for transmit and two for receive. Hubs and switches reverse their own pins (which is why directly connecting two computers requires a crossover cable) to connect to the computer.

Ethernet is based on the principle that only one device feeds into a cable, put simply.
 
Old 02-08-2006, 04:22 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
A lot of companies are using this and it works fine:
http://www.cabling-design.com/refere...ts/split.shtml

It only works for ethernet that uses 2 pairs, I can't remember cabling of Gigabit,.. I'm sure others know for which ethernet it doesn't work. Oh yes, you can't put a DCE (hub,switch,router,..) between the hack!

Bit Off topic, this crossover cabling image
http://www.itkomi.ru/gallery//displa...bum=18&pos=235
 
Old 02-08-2006, 06:49 AM   #5
Brian Knoblauch
Member
 
Registered: Jan 2005
Distribution: OpenSuse Tumbleweed
Posts: 288

Rep: Reputation: 39
Quote:
Originally Posted by Matir
Ethernet is based on the principle that only one device feeds into a cable, put simply.
Actually, that's backwards. Ethernet is a shared medium by design. In essence, all a hub does is to tie all the wires together and let all the machines talk on the same exact set of wires! The machines themselves are responsible for re-transmits and attempting to avoid overrunning each other (IIRC, the CDMA/CS protocol is used).

A switch on the otherhand changes things...
 
Old 02-08-2006, 07:43 AM   #6
fails
LQ Newbie
 
Registered: May 2005
Distribution: Ubuntu
Posts: 23

Rep: Reputation: 15
You could push the boat out a bit and grab some CAT 8, some EC7's and hey presto, two ethernet devices on one cable.
 
Old 02-08-2006, 08:43 AM   #7
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by nx5000
A lot of companies are using this and it works fine:
http://www.cabling-design.com/refere...ts/split.shtml
Yes, but the OP only wanted to use one port on the hub/switch, which that would not work for.
 
Old 02-08-2006, 09:09 AM   #8
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
WHile RJ45 has 8 pins and Cat5 structured cabling wires all the pins through the actual Ethernet interface in most cases only uses two pairs, pins 1,2,3 and 6.
There were a few early flavours of 100M ethernet that used all 4 pairs but they disappeared quite quickly.

Quote:
Actually, that's backwards. Ethernet is a shared medium by design.
This is only true of Co-axial versions of ethernet. Twisted pair ethernet is not electrically designed as a bus like the co-ax versions. So while the CSMA-CD access method means that all ports on a repeater are in fact a single ethernet segment, this is not electrically true of the twisted pair transmission medium, only due to the behaviour of the hub (which is indeed simply a multi port repeater).

It is perfectly possible to run 2 pcs to two ports on 1 cat5 run by using 2 pairs for each, but just make sure that you don't split the pairs as this will cause you all sorts of problems.

By and large its best avoided though.

Last edited by baldy3105; 02-08-2006 at 09:11 AM.
 
Old 02-08-2006, 11:11 AM   #9
soulestream
Member
 
Registered: Nov 2005
Posts: 183

Rep: Reputation: 30
Quote:
It is perfectly possible to run 2 pcs to two ports on 1 cat5 run by using 2 pairs for each, but just make sure that you don't split the pairs as this will cause you all sorts of problems.

By and large its best avoided though.
That is also going to create all kinds of noise and crosstalk on the cable(probably).

soule
 
Old 02-08-2006, 12:15 PM   #10
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by soulestream
That is also going to create all kinds of noise and crosstalk on the cable(probably).

soule
Why more so than two cat 5 cables that are laid next to each other? All that separates the pairs is a milimeter of pvc. UTP is unsheilded after all.

I run two uplinks over 50 meters down to my garage on one cable this way, runs clean as a whistle.

The whole point about twisted pair transmission is that it uses differential transmitters and receivers. The pair is twisted so that both wires occupy the same position in space as near as possible. Any noise affecting once wire must affect both inn the pair equally. The differential receiver filter out any signals on the pair that are common. So no cross talk is not an issue in this case.

The main problem is splitting the pairs. This WILL cause you problems.
 
Old 02-08-2006, 12:24 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,714

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
You could connect 2 PCs to the same port but communications would be limited to half duplex since the adapter would need to sense collisions (CSMA/CD, or Carrier Sense Multiple Access/Collision Detection). You are also probably limited to 10MB.

I haven't found anything specific if you can connect two or more receivers to the same transmitter. I've found several schematics for passive hubs that use diodes or ICs to isolate the PCs network adapters. 10base2 used coax that with all adapters connected together.
 
Old 02-09-2006, 04:12 AM   #12
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Look , you cannot electricaly connect two transmitters to the same receiver in UTP. Its not electrically a bus. The transmitters do not use tri-state outputs and therefore cannot float.

Also the transmitters aren't passive in an idle state - a special IDLE code-group is continuously sent during interframe gaps to maintain continuous synchronization between the NICs at each end of the link. The receipt of IDLE is interpreted to mean that the link is quiet.

If one transmitter asserts a signal with +2.2v across the pair and another asserts -2.2v across the pair (neither of these can be called one or zero due to the differential manchester encoding) you get 0v differential total. I.E you just receive crap. Its simple basic electronics.

Neither NIC would ever succesfully pass Fast Link Pulses, let alone actually transmit any valid data.
 
  


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
Connecting two computers with a USB cable (data cable) seran Linux - General 5 08-01-2006 04:51 PM
split one file to two alaios Linux - General 1 05-19-2005 10:24 PM
Bandwidth Pooling ADSL + CABLE + CABLE bosdmeg Linux - Networking 1 04-02-2005 08:28 PM
printer cable > modem cable? C++freak Linux - Hardware 1 06-21-2003 01:53 PM
SPLIT DNS ... Anyone??? kofi Linux - Networking 3 09-02-2002 04:40 PM

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

All times are GMT -5. The time now is 07:53 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