LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 08-28-2005, 08:08 AM   #1
Palula
Member
 
Registered: May 2005
Location: Brazil
Distribution: Fedore Core 3
Posts: 138

Rep: Reputation: 15
Improoving net connection inside LAN.


Hello all...

Iīm having a problem within my LAN.

Structure:
My Lan is composed of 1 Linux Router/Firewall, wich forwards the internet connections. And 2 other regular windows computers (win98, WinXP) that hardly ever are turned on at the same time... At least for now.

The problem:
Recently, before making my home LAN, I used Bittorrent with a download rate up to 24 Kb/s (sometimes lower rates). Right now I am downloading something wich is at a speed of 3-5 Kb/s. So I would like to know what can I do to improve the download/upload speed of my LAN.

By the way, I opened a port to use with bittorrent (changed the default in Bittorrent) and I am DNATting the connection to the computer (x.x.x.x: port) wich has Bittorrent installed.

Ex:
Code:
iptables -A FORWARD -j ACCEPT -i wanic -p tcp --dport (the port I am using within Bittorrent)

iptables -nat -A PREROUTING -i wanic -p tcp --dport (the port I am using within Bittorrent) -DNAT --to-destination x.x.x.x:port <- wich is the port I am using within bittorrent...
Thanks in advance.
 
Old 08-28-2005, 09:40 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
More details about your LAN setup would help. Type of hardware used, type of NIC's, etc. Also, downloading from other sources can get you varying rates of speed, depending on the other end's upload speed, etc.
 
Old 08-28-2005, 11:59 AM   #3
Palula
Member
 
Registered: May 2005
Location: Brazil
Distribution: Fedore Core 3
Posts: 138

Original Poster
Rep: Reputation: 15
I have an internet connection (adsl) of 256 Kb/s.
The two NICīs installed on my router are:

eth0 - 3COM (Canīt remember the model).
eth1 - Realtek RTL 8139.

The NIC connected to Internet is the 3COM, wich receives IP and everything else via DHCP.
I assign the internal IPīs of my LAN via DHCP two (dhdpd). I know it would be much easier for me to assign IPīs manually, but I built this LAN as a learning procedure for me to put it together as if it was a corporate environment (even thow it isnīt). The assignment of the IPīs are working fine anyway.

Maybe it really isnīt a problem with my connection... As you said, the speed depends on the connection of the other peer... Anyway my http connections work really fine. I can download stuff from the web with about 27 KB/s rate. In thesis, I should be downloading stuff at 32 KB/s (256/8=32) but that never happens... And I am confortable with 27 KB/s...

Iīd just like to know if I can improove Bittorrent Downloads because 3-5 KB/s is tottaly out of range on a 256 Kb/s connection...
 
  


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
Server from inside LAN andrewjjones Linux - Networking 53 04-22-2005 02:07 PM
Setting up a webserver inside a lan, which should be accessible from outside seidren Linux - Networking 2 05-18-2004 08:26 AM
pop3 inside and outside LAN clinger Linux - Software 2 03-20-2004 10:55 AM
DNS/email issues inside and out of LAN swingheim Linux - Networking 4 11-22-2003 01:02 PM
idea: sharing net connection, method: iptables..., problem: broken net connection :( danny2055 Linux - Networking 4 06-09-2003 07:00 AM


All times are GMT -5. The time now is 02:51 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 Google+: linuxquestions
Open Source Consulting | Domain Registration