All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] problem limiting a subnet !
@ 2003-08-20 14:12 Petre Daniel
  0 siblings, 0 replies; only message in thread
From: Petre Daniel @ 2003-08-20 14:12 UTC (permalink / raw)
  To: lartc


i have this problem limiting a subnet.

i run a 2.4.22-rc2 router with htb tc binary and htb.init

i got an eth1 pn this router which is linked to a 1.2.3.4/28 subnet of 
some clients and i wanted to limit their download via:

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

tc class add dev eth1 parent 1:11 classid 1:2 htb rate 32Kbit prio 6
tc qdisc add dev eth1 parent 1:2 handle 2 sfq perturb 10
tc filter add dev eth1 parent 1:0 protocol ip prio 100 u32 match ip dst 1.2.3.4/28 classid 1:2

still,i am able to download at 7 MB/sec via 1.2.3.5 ip from that class..

anyone can guide me to repair some error ?

thanks.

-- 
Petre Daniel,System & Network Administrator.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-20 14:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-20 14:12 [LARTC] problem limiting a subnet ! Petre Daniel

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.