From: Theepan tornado@linuxfromscratch.org
To: lartc@vger.kernel.org
Subject: [LARTC] Traffic Control on ADSL
Date: Fri, 26 Jan 2001 13:43:18 +0000 [thread overview]
Message-ID: <marc-lartc-98373940416917@msgid-missing> (raw)
<PRE>Heyas,
I'm pretty new to this (more new than most of those who say 'I'm new to
this'), but I have a basic understanding of what goes on though.
[The situation]:
A friend of mine has a linux machine running on an ADSL linie. He has given
several friends accounts, so they can download faster (a temporary storage),
if they are on a modem connection.
The linux machine acts as a software router his private internal network,
which consists of 2 PC's for the time being. eth0 is the interface towards
his LAN (with private IP range 192.168.0.*) and eth1 is the ADSL interface
towards the ISP, having a fixed IP - lets say it has the IP 111.111.111.111.
The same machine is also the linux system, that users have access to for
downloading.
[The problem]:
He plays games over the Internet - and when 3-4 users on the system are
downloading at the same time - it is practically impossible to play with
pings above then 1000ms.
[The solution]:
Traffic control, of course - hopefully. What I want to do is to grant him AT
LEAST 50% of both upload and download speed - meaning he should always have
50% of the bandwidth for his own use, WHEN he uses it. Of course, when he is
not using it, the others can use the bandwidth. This I know tc can do :)
[The questions]:
I can grant his local private network at least 50% of the bandwidth (haven't
tried, but the HOWTO explains it well).
1. Is it possible to limit the traffic to users on the the linux machine
itself, so they can't download at full speed when he's using it? That is, if
he is using the connection, he can at least expect 50% of the bandwidth.
2. Wouldn't this create some some kind of 'loop' in limiting? By limiting
traffic to 111.111.111.111, I limit the total incoming traffic to
111.111.111.111.. and again limiting the limited.. Or is it just me, who's
making a big deal out of this? :)
Any answers.. solutions? :)
He is using kernel 2.2.17 (soon 2.2.18, since I don't have the guts to
change to 2.4.0 over the Internet - something always goes wrong) :)
- Theepan
</PRE>
reply other threads:[~2001-01-26 13:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-98373940416917@msgid-missing \
--to=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.