lkml.org 
[lkml]   [2002]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Bandwidth 'depredation' revisited
From
    Hi Anders :)

>To do this you can use ingress scheduler.

That's the point... I'll give it a try, then.

>tc qdisc add dev eth0 handle ffff: ingress
>tc filter add dev etc0 parent ffff: protocol ip prio 50 u32 \
> match ip src 0.0.0.0/0 police \
> rate 232kbit burst 10k drop flowid :1

OK. Maybe a stupid question: will I need to mark the packages
with iptables in order to get them thru de ingress scheduler :?

>The downside is, that this actually decreases the maximum download
>speed, but you can really feel the difference.

Don't worry about that. I'll give it a try and compare results.

>IIRC, All this was explained in the Advanced-Routing howto.

I missed this part, then. Well, I didn't read deeply the
different shapers...

Thanks a lot :)
Raúl
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.131 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site