Skip to contentSkip to conversation

How to delete filter

LARTC Gery Kahn 1 participant 1 message May 1, 2001

lore
Share & tools
lore

Gery Kahn

author
#0 lore raw

My code is:
tc qdisc add dev eth1 root handle 10: cbq bandwidth 100Mbit avpkt 1000

tc class add dev eth1 parent 10:0 classid 10:1 cbq bandwidth 100Mbit rate 100Mbit allot 1514 weight 10Mbit prio 7 maxburst 100 avpkt 1000

tc class add dev eth1 parent 10:1 classid 10:20 cbq bandwidth 100Mbit rate 3Mbit allot 1514 weight 300Kbit prio 7 maxburst 20 avpkt 1000 bounded tc class add dev eth1 parent 10:1 classid 10:30 cbq bandwidth 100Mbit rate 3Mbit allot 1514 weight 300Kbit prio 7 maxburst 20 avpkt 1000 bounded

tc filter add dev eth1 parent 10:0 protocol ip prio 100 handle 800::2 u32 match ip dst 192.168.1.21 flowid 10:20
tc filter add dev eth1 parent 10:0 protocol ip prio 100 handle 800::3 u32 match ip dst 192.168.1.22 flowid 10:30

My question is:
Is this configuration telling that exist filter w/ "prio 100" that have element 800 ( hash table ) where on slot ??? node 2 filtering per ip 192.168.1.21 and
node 3 per 192.168.1.22 ?

Thank for answer.

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/