All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] filter problems with htb + sfq, with script
@ 2002-07-15  9:00 tomas bonnedahl
  2002-07-15  9:01 ` tomas bonnedahl
  0 siblings, 1 reply; 2+ messages in thread
From: tomas bonnedahl @ 2002-07-15  9:00 UTC (permalink / raw)
  To: lartc

<html><div style='background-color:'><DIV>i forgot to attach the script to my previous message, im sorry for the inconvenience.</DIV>
<DIV>&nbsp;</DIV>
<DIV>- tomas bonnedahl</DIV></div><br clear=all><hr>Med MSN Foto kan du enkelt dela med dig av dina fotografier och beställa kopior: <a href='http://g.msn.com/1HM1SVSE/c156??PID403'>Klicka här</a><br></html>
_______________________________________________
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

* [LARTC] filter problems with htb + sfq, with script
  2002-07-15  9:00 [LARTC] filter problems with htb + sfq, with script tomas bonnedahl
@ 2002-07-15  9:01 ` tomas bonnedahl
  0 siblings, 0 replies; 2+ messages in thread
From: tomas bonnedahl @ 2002-07-15  9:01 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/html, Size: 401 bytes --]

[-- Attachment #2: rc.qos.txt --]
[-- Type: text/plain, Size: 1264 bytes --]

tc qdisc del root dev eth1

tc qdisc add dev eth1 root handle 1:0 htb default 222

tc class add dev eth1 parent 1:0 classid 1:1 htb rate 4Mbit ceil 4Mbit

tc class add dev eth1 parent 1:1 classid 1:10 htb rate 2Mbit ceil 2Mbit
tc class add dev eth1 parent 1:1 classid 1:20 htb rate 2Mbit ceil 2Mbit

tc class add dev eth1 parent 1:20 classid 1:210 htb rate 512kbit ceil 2Mbit
tc class add dev eth1 parent 1:20 classid 1:220 htb rate 1536kbit ceil 
1536kbit

tc class add dev eth1 parent 1:220 classid 1:221 htb rate 307kbit ceil 
1536kbit
tc class add dev eth1 parent 1:220 classid 1:222 htb rate 1229kbit ceil 
1536kbit

tc qdisc add dev eth1 parent 1:210 sfq perturb 10
tc qdisc add dev eth1 parent 1:221 sfq perturb 10
tc qdisc add dev eth1 parent 1:222 sfq perturb 10

tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match ip dst 
172.16.1.0/24 flowid 1:10
tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match ip dst 
10.47.17.23/32 flowid 1:210
tc filter add dev eth1 protocol ip parent 1:1 prio 1 u32 match ip dst 
10.46.23.0/24 flowid 1:221
tc filter add dev eth1 protocol ip parent 1:1 prio 2 u32 match ip dport 0x19 
0xffff flowid 1:221
tc filter add dev eth1 protocol ip parent 1:1 prio 2 u32 match ip dport 0x6e 
0xffff flowid 1:221


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

end of thread, other threads:[~2002-07-15  9:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-15  9:00 [LARTC] filter problems with htb + sfq, with script tomas bonnedahl
2002-07-15  9:01 ` tomas bonnedahl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.