From: Karim Asif Sattar <karimas@kfupm.edu.sa>
To: netfilter@vger.kernel.org
Subject: Problem in using TC Traffic Control
Date: Wed, 05 Nov 2008 15:13:46 +0300 [thread overview]
Message-ID: <000601c93f3f$f544b4e0$4a8610ac@icsasif> (raw)
Hi
I am new to "tc" Traffic Control but not new to Linux. I am using Fedora 9
with 2.6.23 kernel with new iproute2 package and preinstalled "tc" in the
fedora. I am using the following rules for the "tc".
I am using the Linux Box as a router which is forwarding packets already
mark with required parameters such as ToS marking, so I think I shouldn't
have to use the iptables mangling features.
The linux is accepting the kernel but the problem is that when I do "tc
filter show" or "tc class show" it is not showing any thing.
The packets I am forwarding is not affected by these rules.
I am using HTB, is there any issue in using this.
tc qdisc add dev eth1 root handle 1: htb default 20
tc class add dev eth1 parent 1: classid 1:1 htb rate 100mbit ceil 100mbit
tc class add dev eth1 parent 1:1 classid 1:10 htb rate 1mbit ceil 100mbit
tc class add dev eth1 parent 1:1 classid 1:20 htb rate 99mbit ceil 100mbit
tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match ip tos 46
0xff flowid 1:10
Can any one guide me what I am doing wrong
Regards
Karim Asif
next reply other threads:[~2008-11-05 12:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-05 12:13 Karim Asif Sattar [this message]
2008-11-05 15:53 ` Problem in using TC Traffic Control Stephen Hemminger
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='000601c93f3f$f544b4e0$4a8610ac@icsasif' \
--to=karimas@kfupm.edu.sa \
--cc=netfilter@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