All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Shaping only the interface bandwith
Date: Fri, 16 May 2003 09:16:39 +0000	[thread overview]
Message-ID: <marc-lartc-105307667715437@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105304709128962@msgid-missing>

On Friday 16 May 2003 03:05, Osgaldo Suanzes wrote:
> So I have been playing around a while with Tc, and something start to ring
> a bell.
> I managed to shape traffic for 5 Users on my Lan each with 24Kb download
> rate. (using HTB)
>
>     Now my question is: Can I limit the bandwidth on ETH1 to 512k without
> specifying any end Users Ip  or port (www,or smtp traffic)?.
>     So that the first person conecting its Laptop to the Lan gets full
> Bandwidth, the next user conecting gets 50% and so on...
>     I read that SFQ should do the trick but the Examples I have seen are
> based on match known Ip adresses so that it can fair qeue the request and
> everybody gets the same amount of bandwitdh
>     Is there a workaround on SFQ for what I need?
>     And if not what other ways do I have, CBQ, HTB, SFQ, ESFQ ???
You can use the esfq qdisc (see the faq page on www.docum.org for a link).  It 
works like a sfq, but you can specify how it split the data in different 
queues.  In your case, you can use the ip-address as hash key.  So each 
ip-addess has his own little queue.

>     I need this because I need to implement this on different office where
> I dont know the Ip adresses of the people,
>     But I have been asked to shape traffic to a specific amount of KB
> without carry much about who is using it, Is that possible?
>
>         If so can someone point me to somewhere?  Im quite desperate.
Or you can create a script that parses the ip-address from the router, 
determines the network address and creates a htb class for each possible 
ip-address.  Not so difficult to do.

Stef

-- 

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

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

  reply	other threads:[~2003-05-16  9:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-16  1:05 [LARTC] Shaping only the interface bandwith Osgaldo Suanzes
2003-05-16  9:16 ` Stef Coene [this message]
2003-05-19 23:01 ` Osgaldo Suanzes
2003-05-20 19:47 ` Stef Coene

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-105307667715437@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 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.