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] htb class!!! attaching
Date: Wed, 09 Oct 2002 16:55:21 +0000	[thread overview]
Message-ID: <marc-lartc-103418259306692@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103417893102083@msgid-missing>

On Wednesday 09 October 2002 17:54, Nickola Kolev wrote:
> Of course, the example given was my mistake. Anyway, consider these two:
>
> Number 1
> # Level 2 - Servers Class
> 	$tc class add dev $dev parent $ROOT_CLASS classid $SERVER_CLASS htb \
> 	rate $SERVER_GARAN ceil $SERVER_MAX
> 	$tc filter add dev $dev protocol ip parent $SERVER_CLASS prio $SERVER_PRIO
> u32 \ match ip dst 192.168.1.0/26 flowid $SERVER_CLASS
> # Level 2 - End Servers Class
>
>
> And number 2:
>
>
> # Level 2 - Servers Class
> 	$tc class add dev $dev parent $ROOT_CLASS classid $SERVER_CLASS htb \
> 	rate $SERVER_GARAN ceil $SERVER_MAX
> 	$tc filter add dev $dev protocol ip parent $ROOT_CLASS prio $SERVER_PRIO
> u32 \ match ip dst 192.168.1.0/26 flowid $SERVER_CLASS
> # Level 2 - End Servers Class
You have to add the filter to the class where you want to split the traffic, 
so number 2.


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:[~2002-10-09 16:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-09 15:54 [LARTC] htb class!!! attaching Nickola Kolev
2002-10-09 16:55 ` 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-103418259306692@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.