linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* simple tc priorization
@ 2005-04-13 12:30 urgrue
  0 siblings, 0 replies; only message in thread
From: urgrue @ 2005-04-13 12:30 UTC (permalink / raw)
  To: admin

simply put i need to prioritize one form of traffic over another. its 
okay if it even hogs up all the bandwidth. whats the simplest way to 
achieve this? a simple prio qdisc simply doesnt seem to work, for 
example:
tc qdisc add dev eth0 root handle 1: prio
tc qdisc add dev eth0 parent 1:1 handle 10: sfq
tc qdisc add dev eth0 parent 1:2 handle 20: sfq
tc filter add dev eth0 parent 1: protocol ip u32 match ip sport 19  
0xffff flowid 1:1
tc filter add dev eth0 parent 1: protocol ip u32 match ip sport 22 
0xffff flowid 1:2

but this doesnt work and it just ends up splitting traffic evenly 
between the two ports. im assuming my problem is that im not limiting 
traffic on the root level, and thus PRIO never realizes my bandwidth is 
full?
but how can i

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-13 12:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-13 12:30 simple tc priorization urgrue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).