[LARTC] tc qdisc prio

Linux Advanced Routing and Traffic Control

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

 



hello all,
I was trying out the various queueing disciplines and i have problems with
this basic one:

Simple 3-bands Priority Scheduler -->  sch_prio.c

how i implemented it:

#########START##########
tc qdisc add dev eth1 root handle 1: prio

tc filter add dev eth1 parent 1:0 prio 5 protocol ip u32
tc filter add dev eth1 parent 1:0 prio 5 protocol ip u32
tc filter add dev eth1 parent 1:0 protocol ip prio 5 u32 match \
ip dst 192.168.1.10 flowid 1:0

#########END#########


What does this do?? What i wanted was to have 3 bands in which only when 1st
Band has finished then the 2nd Band would be serviced. So when 3 streams of
TCP traffic with different TOS is flooding 192.168.1.10 by server (with
Traffic Control), the higher TOS stream would be transmitted from server to
192.168.1.10.

How come this doesn't work?? Am i missing something here??


Regards.





[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux