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.
At my new job I requested a Linux machine (Ubuntu 8.10). On the second day I was embarrassed when I found out that my synaptic update downloads were causing the network (windows machines on a T1) to come to a crawl!
I know very little about networking and am at a loss as to how to troubleshoot this issue. I ran the tc wondershaper script as a temporary work-around, but I think that only throttles HTTP. I am going to need to transfer files via SSH/FTP as well.
Any help would be greatly appreciated. I'm going to have difficulty advocating Linux at my new company if I can't get past this issue.
At my new job I requested a Linux machine (Ubuntu 8.10). On the second day I was embarrassed when I found out that my synaptic update downloads were causing the network (windows machines on a T1) to come to a crawl!
I know very little about networking and am at a loss as to how to troubleshoot this issue. I ran the tc wondershaper script as a temporary work-around, but I think that only throttles HTTP. I am going to need to transfer files via SSH/FTP as well.
Any help would be greatly appreciated. I'm going to have difficulty advocating Linux at my new company if I can't get past this issue.
Thanks.
I always found the 'apt-get update/apt-get dist-upgrade' sequence from the command line a little easier on network resources. Also, are you SURE that it is your Ubuntu machine hogging network resources and not some rogue Window machine?
Even SFTP downloads cause latency throughout the network. As soon as I do any significant downloading through any protocol, the pings on the other windows boxes go from ~80ms to 1500-8000ms. So I don't think it's from another machine. It's clearly the addition of the Ubuntu/Linux machine that is causing the problem.
A 1.5 MB T1 is fine for a small network. The network hardware normally throttles machines doing significant downloading - and it was working fine for the ~50 windows machines that had been on the network up till this point. Something bizarre is happening and it is definitely related to the new Linux box.
Let's say you transfer a file from your computer to another one on the network ? Does it have the same effect ? Then, if you transfer a file from a windows machine to yours ?
I think I may have figured this out! I think it has something to do with this new machine having a Gigabit ethernet card. I changed the MTU of my ethernet adapter to 500. I tested downloading the latest kernel with the default 1500, and the network came to a crawl again (>3 sec pings and timeouts). Then I changed the MTU to 500, removed the kernel, downloaded it again, and... voila! The network didn't feel a thing.
Still, I wonder why I had to do this? I thought 1500 was the 10/100 standard. So if I was sending 1500 byte packets, why would this cause the network hardware to freak out?
Hm... Anyway, now I'm running Fedora - guess I could go back to Ubuntu, but I think I'll try Fedora for a while.
It sounds like a fragmentation issue. Have you checked your exterior router's interfaces and see if there is a smaller MTU set. Also, you might want to check your DMZ routers/firewalls aswell.
The NIC should not be causing issues unless it is defective, but that is unlikely considering you are passing traffic properly. If you have a GigE NIC on a FE network, it will use the FE speeds (assuming it is set to Auto-Negotiate). Maybe check the switchport the Ubuntu machine is plugged into and see if it is set to Auto or 10/100 Full/Half duplex. Some NICs have issues with Auto while others can't handle hard-coded speeds.
I'm pretty sure it's a fragmentation issue though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.