LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Connection speed is limited to clients on Linux (https://www.linuxquestions.org/questions/linux-networking-3/connection-speed-is-limited-to-clients-on-linux-601327/)

fayax 11-21-2007 12:37 AM

Connection speed is limited to clients on Linux
 
Hello,

I have a 5 Mbps Internet connection which is connected to the Fedora7 Box and serving the clients with squid 2.6 STABLE12.

When I download something from the Linux box I get the speed about at 400KB/s. But when I download the same file from clients I get the speed at 50KB/s.

I connected the Internet connection directly to the client and to dowload the same file I get the speed at 400KB/s.

So I guess something is wrong on my linux configuration.

Anybody know why it is happening and how can I fix it.

Any help is greatly appreciated.

Thanks

mehdi.sadighian 11-21-2007 07:55 AM

Hello Dear;
the first thing you must know is that the fedora is not very good distibution to work in professionaly; i refer you to use the redhat 8.0 or better to use slackware 11.0 or 12.0.
ok now try to connect the internet directly to your fedora box and connect the client with an cross-over cable to the other ethernet card of fedora box. now test again.
if there is no resault; check the iptables mangel table if any:

iptables -t mangel -L -nxv

it should have no entery in.

Now you must check your squid.conf file.

i think there is a problem in your squid configuration; see this configuration about squid 2.5 in my site:
http://www.00p00.com/pages/RH/Cache%20Server.html
and compare with yours but its some different in 2.6 configuration only in transparency; like http_accell section. you must specify they in other place.

But the best way to test the squid is to disable it and trying again.

GOOD LUCK

mehdi.sadighian@Hotmail.com

fayax 11-22-2007 07:12 AM

i connected the client direct to the fedora box and there was no result.

iptables mangle table is already clear and my squid.conf file looks good.

anybody have an idea of what the problem is?

mehdi.sadighian 11-27-2007 12:58 AM

Hello Dear
did you disablesd your squid? and tried again?
if done; change your network card; i refer to use 3com or smc or micronet network card. it might solve your problem; its important to change both network cards; if no result change your os to redhat or slackware if dont want to do it change your computer.
GOOD LUCK
mehdi.sadighian@hotmail.com
http://www.00p00.com

lazlow 11-27-2007 12:31 PM

Fayax

Tons of people use Fedora to do this type of thing. Going back to a unsupported version of any distro is moronic. That being said Fedora only has a lifetime of about 1 year now. IF you do not like to reinstall every year, you may want to consider something like Centos5. Centos5 is RedHat EL5 with the logos removed. It has a Five year support life and is free to download just like Fedora. It "feels" like FC6.


My best guess is that the auto negotiate feature of the two cards is arguing or that one of your Ethernet cables is bad (worth checking). If this is the issue, it is one of those things you fix once an install. Take a look at the man pages for ethtool. It has a command to shut off auto negotiate. I do not use ethtool very often any more and I just do not remember the format.

For Fedora specific questions you may get more pinpoint information over on fedoraforum.org.

Good Luck
Lazlow


All times are GMT -5. The time now is 03:25 AM.