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] How to let one node superior?
Date: Thu, 10 Jul 2003 13:47:13 +0000	[thread overview]
Message-ID: <marc-lartc-105784494405089@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105782748021632@msgid-missing>

On Thursday 10 July 2003 10:57, Jack H. Qi wrote:
> Hello all,
>
> This is a newbie question and it is very simple. In my local network of 10M
> bandwidth. I'd like to allow my PC to have a 9M bandwidth. While all the
> other PCs share the rest 1M bandwidth. Suppose my pc 192.168.3.2 gateway
> 192.168.3.1.
>
> Then, how could I set it in my gateway linux box? I think I should use tbf.
> Maybe, I need a cbq, but how to do it? The tc does not surport !
> 192.168.3.2. Maybe I need to use mark.
If you have a linux router as gateway, you can use cbq or htb to create 2 
classes.  One for you with rate = 9mbit and one for the other users with rate 
= 1mbit.  You can do this on both interfaces so you can shape both directions 
(you can only shape outgoing packets with regular htb / cbq qdisc).

> Anyone give me a line of tc command?
http://www.docum.org/

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-07-10 13:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-10  8:57 [LARTC] How to let one node superior? Jack H. Qi
2003-07-10 13:47 ` 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-105784494405089@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.