LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 05-13-2002, 06:57 AM   #1
Aurix
LQ Newbie
 
Registered: May 2002
Location: QLD, Australia
Distribution: Debian/Redhat
Posts: 14

Rep: Reputation: 0
Slow uploads over NAT network


Hey all,

I've noticed my IP Masquaded network is experiencing really slow upload speeds. Uploading a large image (400K+) takes quite a while over my 56k connection.

The gateway machine is running Redhat 7.2, and I can't see anything wrong with the config. I have tried sending from various boxes on the network, with various operating systems.

The problem is evident in both FTP & Email. I am using passive ftp mode, but still no avail.

Does anyone have any suggestions?


Thanks.
 
Old 05-14-2002, 11:23 PM   #2
sewer_monkey
Member
 
Registered: May 2002
Location: Toronto, ON, Canada
Distribution: Ubuntu, RedHat/CentOS, Fedora
Posts: 609

Rep: Reputation: 30
Can you be a bit more specific? Where are you uploading? If a 400K file takes 1 minute to upload to a host on your internal network, then you have a problem, but if it takes 1 minute to upload a 400K file to some Internet host, then at 56K that sounds about right.
 
Old 05-14-2002, 11:44 PM   #3
Aurix
LQ Newbie
 
Registered: May 2002
Location: QLD, Australia
Distribution: Debian/Redhat
Posts: 14

Original Poster
Rep: Reputation: 0
Sorry sewer_monkey, my bad.

Everything seems to be fine when transferring to local hosts on the internal network. However, transfers from an internal machine to any machine on the Internet over 56k connection are very, very slow. Sometimes they even time out.

It does not seem to be related to my ISP, as I have the problem with a few isps... Maybe someone else has similar experience.

Could a setting like MTU help this problem?


Thanks in advance!


Quote:
Originally posted by sewer_monkey
Can you be a bit more specific? Where are you uploading? If a 400K file takes 1 minute to upload to a host on your internal network, then you have a problem, but if it takes 1 minute to upload a 400K file to some Internet host, then at 56K that sounds about right.

Last edited by Aurix; 05-14-2002 at 11:45 PM.
 
Old 05-16-2002, 11:21 AM   #4
Rashkae
Member
 
Registered: May 2002
Distribution: Slackware
Posts: 125

Rep: Reputation: 15
Your MTU for a dial up should be somewhere around 500 (check this with ifconfig). Also, what happens if you try to send the file right from the computer directly attached to the internet?
 
Old 05-16-2002, 04:06 PM   #5
Aurix
LQ Newbie
 
Registered: May 2002
Location: QLD, Australia
Distribution: Debian/Redhat
Posts: 14

Original Poster
Rep: Reputation: 0
ppp0 Link encap:Point-to-Point Protocol
inet addr:203.xxx.xxx.xxx P-t-P:144.xxx.xxx.xxx Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1524 Metric:1
RX packets:204116 errors:0 dropped:0 overruns:0 frame:0
TX packets:170461 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:104919450 (100.0 Mb) TX bytes:7949344 (7.5 Mb)



MTU is 1524. Should this be 500?

Just checked then... I believe the same sort of thing happens from the gateway machine, when it uploads (at least when I try scp'ing something to an internet machine anyway).

Thanks.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Pendrive USB 2.0 uploads tleadley Linux - General 16 03-07-2007 11:16 PM
Slow, slow KDE with network connected bglad Linux - Software 0 10-27-2004 10:54 AM
Slow downloads through iptables NAT sglow Linux - Networking 14 06-05-2004 12:18 PM
slow connection through iptables/nat rellick Linux - Networking 7 03-18-2004 11:24 PM
FTP - Fast Downloads - SLOW UPLOADS? fed007 Linux - Newbie 2 08-19-2001 11:32 AM


All times are GMT -5. The time now is 09:15 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration