[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Priority queueing within existing class
On Wed, 30 Aug 2000, Allan McIntosh wrote:
>
> Hey
>
> I have a divided bandwidth using cbq and would like to provide priority
> packet handling to certain traffic within the divided bandwith.
>
> ------
> |10/100|
> | card |
> ------
> |
> |
> ----
> |4.5 |
> |Mbit| <- at this point could I assign prefered packet
> ---- handling at this point
>
>
>
> # all traffic goes through at 4.5Mbits at priority 25 with
> filter add dev $INT_DEV parent 10:0 protocol ip prio 25 u32 \
> match ip dst 0.0.0.0/0 flowid 10:100
>
>
>
> #then assign a specific ip higher priority on the same flowid???
> tc filter add dev eth1 parent 10:0 protocol ip prio 1 u32 match ip dst
> 192.168.2.10 flowid 10:100
>
>
> I was wondering if that should work. Or could anyone suggest a better
> method?
>
>
> I was wondering if that should work. Or could anyone suggest a better
> method?
>
This is a really good way to stress your question ;->
>
> Or do you think I have to go higher and create another class with a new
> flowid?
>
> not sure how to go about this one.
>
The classifier priority has nothing to do with a classes priority.
You have to use either the prio or cbq qdiscs and explicitly state
priorities.
cheers,
jamal