Linux Netfilter discussions
 help / color / mirror / Atom feed
* Problem in using TC Traffic Control
@ 2008-11-05 12:13 Karim Asif Sattar
  2008-11-05 15:53 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Karim Asif Sattar @ 2008-11-05 12:13 UTC (permalink / raw)
  To: netfilter

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-05 15:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-05 12:13 Problem in using TC Traffic Control Karim Asif Sattar
2008-11-05 15:53 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox