* [LARTC] A filtering problem
@ 2002-07-23 17:47 Omer suat
0 siblings, 0 replies; only message in thread
From: Omer suat @ 2002-07-23 17:47 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]
Hi,
I have the following problem.
I have followed iproute2 manual, and try to fillter incoming traffic by using u32. But it seems the filtering is not working properly, all the packets are still going default class.
# tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 100Mbit avpkt 1000 cell 8
# tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 100Mbit rate 5Mbit prio 3 allot 1514 cell 8 maxburst 20 avpkt 1000 bounded
# tc class add dev eth0 parent 1:0 classid 1:2 cbq bandwidth 100Mbit rate 3Mbit prio 5 allot 1514 cell 8 maxburst 20 avpkt 1000 bounded
# tc qdisc add dev eth0 parent 1:1 tbf rate 1Mbit buffer 10Kb/8 limit 15Kb mtu 1500
# tc qdisc add dev eth0 parent 1:1 tbf rate 1Mbit buffer 10Kb/8 limit 15Kb mtu 1500
# tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip src 192.20.21.14/32 flowid 1:1
# tc filter add dev eth0 parent 1:0 protocol ip prio 1 u32 match ip src 192.20.21.13/32 flowid 1:2
Both class 1 & 2 (1:1, 1:2) are not getting any traffic
Is there any thing am I missing.
Thanks in advance
---------------------------------
Do You Yahoo!?
Yahoo! Health - Feel better, live better
[-- Attachment #2: Type: text/html, Size: 1331 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-23 17:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-23 17:47 [LARTC] A filtering problem Omer suat
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.