All of lore.kernel.org
 help / color / mirror / Atom feed
From: "tomas bonnedahl" <t_bonnedahl@hotmail.com>
To: lartc@vger.kernel.org
Subject: [LARTC] filter problems with htb + sfq, with script
Date: Mon, 15 Jul 2002 09:01:25 +0000	[thread overview]
Message-ID: <marc-lartc-102672387720509@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102672371920373@msgid-missing>

[-- Attachment #1: Type: text/html, Size: 401 bytes --]

[-- Attachment #2: rc.qos.txt --]
[-- Type: text/plain, Size: 1264 bytes --]

tc qdisc del root dev eth1

tc qdisc add dev eth1 root handle 1:0 htb default 222

tc class add dev eth1 parent 1:0 classid 1:1 htb rate 4Mbit ceil 4Mbit

tc class add dev eth1 parent 1:1 classid 1:10 htb rate 2Mbit ceil 2Mbit
tc class add dev eth1 parent 1:1 classid 1:20 htb rate 2Mbit ceil 2Mbit

tc class add dev eth1 parent 1:20 classid 1:210 htb rate 512kbit ceil 2Mbit
tc class add dev eth1 parent 1:20 classid 1:220 htb rate 1536kbit ceil 
1536kbit

tc class add dev eth1 parent 1:220 classid 1:221 htb rate 307kbit ceil 
1536kbit
tc class add dev eth1 parent 1:220 classid 1:222 htb rate 1229kbit ceil 
1536kbit

tc qdisc add dev eth1 parent 1:210 sfq perturb 10
tc qdisc add dev eth1 parent 1:221 sfq perturb 10
tc qdisc add dev eth1 parent 1:222 sfq perturb 10

tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match ip dst 
172.16.1.0/24 flowid 1:10
tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match ip dst 
10.47.17.23/32 flowid 1:210
tc filter add dev eth1 protocol ip parent 1:1 prio 1 u32 match ip dst 
10.46.23.0/24 flowid 1:221
tc filter add dev eth1 protocol ip parent 1:1 prio 2 u32 match ip dport 0x19 
0xffff flowid 1:221
tc filter add dev eth1 protocol ip parent 1:1 prio 2 u32 match ip dport 0x6e 
0xffff flowid 1:221


      reply	other threads:[~2002-07-15  9:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-15  9:00 [LARTC] filter problems with htb + sfq, with script tomas bonnedahl
2002-07-15  9:01 ` tomas bonnedahl [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-102672387720509@msgid-missing \
    --to=t_bonnedahl@hotmail.com \
    --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.