[LARTC] dont get prios

Linux Advanced Routing and Traffic Control

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

 



im trying to understan qdisc && classes..i founded this example in 
docum.org..

some things i dont get..how do i say wich kind of traffic goes to
classid 1:10/1:11/1:12 ? based on what? ip? tos? what?

tc qdisc add $DEV root handle 1: htb default 10
tc class add dev eth0 parent 1: classid 1:1 htb rate 100kbps ceil
100kbps burst 2k
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 30kbps ceil
100kbps burst 2k prio 0
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 10kbps ceil
100kbps burst 2k prio 1
tc class add dev eth0 parent 1:1 classid 1:12 htb rate 60kbps ceil
100kbps burst 2k

thanks in advance
Esteban.



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