Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] ingress qdisc problem
@ 2007-02-03 15:07 Timo Benk
  0 siblings, 0 replies; only message in thread
From: Timo Benk @ 2007-02-03 15:07 UTC (permalink / raw)
  To: lartc

Hello,

i try to limit the incoming traffic rate using the ingress qdisc, but
it does not work for me.

Here is what i have done:

# sudo tc qdisc add dev eth1 ingress
# tc filter add dev eth1 parent ffff:0  protocol ip prio 1 u32 match ip dst 172.17.0.101/32 police rate 10kbit buffer 10k drop

The ingress qdisc is there:

# tc -s qdisc show dev eth1
qdisc pfifo_fast 0: bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
 Sent 165366 bytes 2142 pkt (dropped 0, overlimits 0 requeues 0)
 rate 0bit 0pps backlog 0b 0p requeues 0
qdisc ingress ffff: ----------------
 Sent 5125378 bytes 3554 pkt (dropped 0, overlimits 0 requeues 0)
 rate 0bit 0pps backlog 0b 0p requeues 0

But i cannot see any filter:

# tc -s filter show dev eth1

The traffic is not limit.

Anyone here who can point me in the right direction what i have done?

Greetings,
-timo
-- 
Timo Benk - Jabber ID: fry@downtempo.de - ICQ ID: #414944731
PGP Public Key: http://m28s01.vlinux.de/timo_benk_gpg_key.asc

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

only message in thread, other threads:[~2007-02-03 15:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-03 15:07 [LARTC] ingress qdisc problem Timo Benk

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