Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] help with tc script to manage bandwidth
Date: Wed, 03 Dec 2003 10:14:26 +0000	[thread overview]
Message-ID: <marc-lartc-107044783425418@msgid-missing> (raw)
In-Reply-To: <marc-lartc-107037882821459@msgid-missing>

On Tuesday 02 December 2003 16:19, makinde olojede wrote:
> Please can anybody provide a tc script and any other necessary detail to
> manage my bandwidth that can just fit into my network. These are what I
> want to achieve.
>
> 1. I want to dedicate 32K for my IP phone to have a clear phone call.
> 2. I want all the computers on my network to share the remaining
> bandwidth(N.B My ISP allocated a    bandwidth of 64K uplink and 128K
> downlink) in such a way that all    the computers must share    equal
> bandwidth and none of the computers should exhaust more than necessary
> bandwidth to    disturb others.Also the bandwidth should be shared based on
> the number of computers that are    active. i.e if few computers are
> available at any time they can use all the bandwidth shared    evenly.
Can be done.

> My intended network configuration are stated below:
>
> 1.I have a Linux box runing RH 9.0 with two network cards one(eth0)
> connected to my      ISP gateway modem with default gateway IP as
> 10.0.0.254.The other network card(eth1) connected directly to my 24port hub
>   through which my entire network is connected. 
> 2. I assigned a private ip
> address to eth0 192.168.1.1 and 192.168.2.1 for eth1 . 
??  Eth0 is connected to your ip so you need an ip address on eth0 that's in 
the network of your ISP and this propably done with dhcp.

> 3. I have up to 20
> workstations which I will assign ip address ranging from 192.168.2.3-22
> with    their gateway set as 192.168.1.1. 
Shouldn't the gateway be 192.168.2.1 ?

> 4. I have also set up the same
> Linux box as a proxy server to allow all http request from all computer on
> my LAN except 3computers with ip address 192.168.2.20-22 5. My ip phone
> with ip address 192.168.2.25 cannot be under the proxy server also.
This can be a problem.  If you want to shape traffic and you use a proxy 
server on the same box, you don't know if the object was fetched from the 
cache or from the internet.  Try to create a dedicated proxy server.

Stef

-- 
stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      reply	other threads:[~2003-12-03 10:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-02 15:19 [LARTC] help with tc script to manage bandwidth makinde olojede
2003-12-03 10:14 ` Stef Coene [this message]

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-107044783425418@msgid-missing \
    --to=stef.coene@docum.org \
    --cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox