Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] dont get prios
@ 2003-01-03 19:27 Esteban Ribicic
  2003-01-03 19:32 ` Martin A. Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Esteban Ribicic @ 2003-01-03 19:27 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] dont get prios
  2003-01-03 19:27 [LARTC] dont get prios Esteban Ribicic
@ 2003-01-03 19:32 ` Martin A. Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Martin A. Brown @ 2003-01-03 19:32 UTC (permalink / raw)
  To: lartc

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

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-03 19:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-03 19:27 [LARTC] dont get prios Esteban Ribicic
2003-01-03 19:32 ` Martin A. Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox