Hello,
I'm trying to write a scheduling strategy for 2 different kinds of flows:
-flow 1 is MPLS unicast (higher bandwidth reserved)
-flow 2 is IP
Both flows pass through the interface on which I'm enabling the qdiscs.
I tried to write something like:
tc qdisc add dev ath1 root handle 1: htb default 10
tc filter add dev ath1 parent 1:0 protocol 0x8847 prio 1 tcindex mask
0xf shift 0 pass_on
tc filter add dev ath1 parent 1:0 protocol 0x8847 prio 1 handle 3
tcindex classid 1:13
tc filter add dev ath1 parent 1:0 protocol ip prio 1 handle 1 tcindex
classid 1:11
and so on...
This way it doesn't work, I think I'd have to specify someway that I
want 2 scheduling strategies for 2 different protocols contending for
the same resources. How can I do that?
I hope I've been clear, otherwise tell me!
Thank you,
Luca
|