LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-25-2003, 08:58 AM   #1
dragon
Member
 
Registered: Feb 2002
Posts: 51

Rep: Reputation: 15
Question lan wiring


I have a Linbox with dual NICs. One connects to ISP, the other comes out to a hub (5 ports, the 5th shared w/ uplink port). I tried straight-thru and crossover from the 2nd NIC to hub's uplink port, neither worked. Why?
Now i just use straight-thru connect to port 1, and my other machine connects to port2, then speed between 2 machines always below 50M(NICs,Hub all 100M). Is this the best way it works?

Thx.
 
Old 06-25-2003, 09:21 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
if you're using two perfectly sound cat5 cables (straight of course) Then it should work fine. what have you done to make it not work? check you get connection lights etc... on the hub and all that.
 
Old 06-25-2003, 10:38 AM   #3
dragon
Member
 
Registered: Feb 2002
Posts: 51

Original Poster
Rep: Reputation: 15
you mean straight-thru from server to hub's uplink port? and clint to the normal ports.

Thx
 
Old 06-25-2003, 10:48 AM   #4
emence
Member
 
Registered: Jun 2003
Location: Springfield, MO
Distribution: RedHat/Slackware
Posts: 81

Rep: Reputation: 15
if you cant get speeds greater than 50M, it might becuase you have cheap Hubs and they are not allowing full Duplex, Which would put your speed right at 50M.
 
Old 06-25-2003, 02:15 PM   #5
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
To the uplink port you need crossover. To one of the regular ports, you need straight through.
 
Old 06-25-2003, 02:41 PM   #6
dragon
Member
 
Registered: Feb 2002
Posts: 51

Original Poster
Rep: Reputation: 15
so, from server use crossover to uplink port of the hub, and use straight-thru connecting clients to regular ports. is it rite?
 
Old 06-25-2003, 05:24 PM   #7
atrivis42
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware
Posts: 9

Rep: Reputation: 0
While this solution should work, it's not real good practice. the Uplink port is used to cascade hubs/switches together. i.e. if you need more ports than on your hub, you can connect a second to expand the number of ports. The uplink port does the exact same thing as a crossover cable. The crossover cable exists for (old) hubs/switches that didn't come with an uplink port built in. Basically, if you plug a crossover into an uplink, you switch the pinouts, then switch them back, accomplishing nothing.

Anything that is a end machine (computer, server, printer, etc.) connects to the hub/switch with a "straight through" cable. Crossovers and uplink ports should only be used to connect a hub/switch to another hub/switch. Hopes this clarifies things a bit....

Atrivis
 
Old 06-26-2003, 09:26 AM   #8
dragon
Member
 
Registered: Feb 2002
Posts: 51

Original Poster
Rep: Reputation: 15
thx a lot. the reason i can only get 50M at most is in the hub itself then?
 
Old 06-26-2003, 10:06 AM   #9
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
The point of the crossover in the uplink is that you can't just connect your computer to it without a crossover since the pins ARE changed in the uplink port.
Are your cat 5 cables using the full 8 pins or just 4? Do you have full duplexing turned on?
 
Old 06-26-2003, 12:37 PM   #10
dragon
Member
 
Registered: Feb 2002
Posts: 51

Original Poster
Rep: Reputation: 15
Is it true that when it connects to a hub, a 10/100M NIC turns to half duplexing and when connecting to a switch, it goes to full duplexing?
 
Old 06-27-2003, 10:43 AM   #11
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
Not necessarily. It depends on the hub/switch, your wiring, and your NICs.
 
Old 06-27-2003, 02:00 PM   #12
dragon
Member
 
Registered: Feb 2002
Posts: 51

Original Poster
Rep: Reputation: 15
i'm using Linksys EFAH05W EtherFast® 10/100 5-port Auto-Sensing Hub; RH9 at samba server, and winxp pro as client. cat5 wires.
when i copy files, i see in the taskmanager the networking usage just 40% of 100Mb/s.
How can I get full use of it?
 
Old 06-28-2003, 12:50 AM   #13
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
1) Do your cat 5 cables have 8 or 4 wires?
2) If 8, do you have full duplexing enabled on both NICs?
3) Do the LEDs indicating a link speed of 100 Mb light up on the hub?
 
Old 06-30-2003, 04:39 PM   #14
dragon
Member
 
Registered: Feb 2002
Posts: 51

Original Poster
Rep: Reputation: 15
First of all, thx, moses.
1) I think so, they are cat 5e;
2) How can I enable NICs to full duplexing if it's not automatically set? In operating systems or other?
3) the LEDs do light up when I turn both computers on.

Thx again.
 
Old 07-01-2003, 09:58 AM   #15
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
Just because they are cat 5 doesn't mean they use all 8 wires. To check, look closely at the RJ45 connector. Usually they are clear plastic, and you can easily see either 4 or 8 wires. If there are only 4 wires, you won't get full speed from them.
The full duplexing depends on your drivers, cards, and hub. What kind of cards do you have? What is your hub?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
wiring to a text file and being able to save and add to it mrobertson Programming 1 07-27-2005 02:27 PM
snort & wiring mikeindo Linux - Security 18 07-03-2005 05:37 AM
Basic wiring question Ishkabibble Linux - Hardware 5 03-02-2005 06:14 AM
Laptop Display Wiring MrSmee Linux - Hardware 1 05-05-2004 12:53 PM
Phone (ADSL) Line Wiring Question ghight Linux - Networking 4 03-03-2004 03:56 PM

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

All times are GMT -5. The time now is 07:50 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration