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.
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?
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.
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.
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....
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
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?
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?
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
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?
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.
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.