simple tc priorization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux