[LARTC] dont get prios

Linux Advanced Routing and Traffic Control

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

 



Esteban,

You will want to learn about "tc filter".  This is the method you use to
classify traffic.

Read about "tc filter" at lartc.org.

  http://lartc.org/howto/lartc.qdisc.filters.html

Try this first:

  http://lartc.org/howto/lartc.qdisc.filters.html#LARTC.FILTERING.SIMPLE

And if you want to try something fancy:

  http://lartc.org/howto/lartc.adv-filter.html

-Martin

 : 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.
 :
 : _______________________________________________
 : LARTC mailing list / LARTC@mailman.ds9a.nl
 : http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
 :

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com



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