All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] ingress and egress
@ 2002-05-21  1:31 hanhbnetfilter
  2002-05-21  5:27 ` Stef Coene
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hanhbnetfilter @ 2002-05-21  1:31 UTC (permalink / raw)
  To: lartc

ingress can be used to control the incoming packet,
such as:
tc qdisc add dev eth0 handle ffff: ingress
tc filter add dev eth0 parent ffff: protocol ip prio 5
u32 match ip src 172.16.1.11 police rate 10kbit burst
10k drop flowid :1 
tc filter add dev eth0 parent ffff: protocol ip prio 5

u32 match ip src 172.16.1.22 police rate 10kbit burst
10k drop flowid :2
first ,I do not sure these method can  use class(could
it do? I tested it can not do). if it can do it
,please give me a example.
second, rate can not be shared, if i want to control
the incoming packet rate not throug egress qdisc, and
the rate can be shared, please tell me how can i do.
 





_________________________________________________________
Do You Yahoo!? 
摊开你的掌心 让我看看你
http://sweepstakes.yahoo.com/2002cnuser
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2002-05-22  6:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-21  1:31 [LARTC] ingress and egress hanhbnetfilter
2002-05-21  5:27 ` Stef Coene
2002-05-21  5:44 ` Alexey Talikov
2002-05-22  2:29 ` hanhbnetfilter
2002-05-22  3:22 ` Patrick McHardy
2002-05-22  6:15 ` Alexey Talikov

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.