All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] fw mark torouble
@ 2002-11-01  9:50 Alexey Sheshka
  2002-11-01 10:54 ` Stef Coene
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alexey Sheshka @ 2002-11-01  9:50 UTC (permalink / raw)
  To: lartc

Hi!

I have been setup next configuration :

$TC qdisc add dev $DEVB root handle 1: htb default 30

$TC class add dev $DEVB parent 1: classid 1:1 htb rate 100mbit ceil 100mbit burst 15k
$TC class add dev $DEVB parent 1:1 classid 1:10 htb rate 1mbit ceil 1mbit  burst 15k
$TC class add dev $DEVB parent 1:1 classid 1:30 htb rate 2mbit ceil 100mbit burst 15k

$TC qdisc add dev $DEVB parent 1:10  sfq perturb 10
$TC qdisc add dev $DEVB parent 1:30  sfq perturb 10

$iptables -A OUTPUT -t mangle -p tcp  -d 192.168.15.129 -j MARK --set-mark 10
$tc filter add dev $DEVB protocol ip parent 1:0 prio 1 handle 10 fw classid 1:10

and all works fine, only 1 mbit goes to  192.168.15.129, but if I do

$iptables -A OUTPUT -t mangle -p tcp -s 0/0 --sport 80  -d 192.168.15.129 -j MARK --set-mark 10
$tc filter add dev $DEVB protocol ip parent 1:0 prio 1 handle 10 fw classid 1:10

HTTP  to 192.168.15.129 goes full 100 Mbit .

Kernel 2.4.19 ; htb patch, tc binnary from HTB homepage

Where my mistake ?
Thanks.




-- 
Sheshka Aleksey
Senior Security Administrator

PGP key : http://pgp.dtype.org:11371/pks/lookup?op=get&search=0x0BE90515
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2002-11-01 11:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-01  9:50 [LARTC] fw mark torouble Alexey Sheshka
2002-11-01 10:54 ` Stef Coene
2002-11-01 11:23 ` Alexey Sheshka
2002-11-01 11:46 ` Ethy H. Brito

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.