Re: [LARTC] How to limit the Upload speed for an specific IP?

2004-03-23 Thread rubens
If traffic is outbound to another interface, limit the traffic on that interface. If traffic is destined to local, you will need either ingress policing or IMQ(www.linuximq.net). Rubens On Mon, 22 Mar 2004, Morten Kramer wrote: > Hello, > > I want to limit the upload speed for the eth0 Interf

[LARTC] How to limit the Upload speed for an specific IP?

2004-03-22 Thread Morten Kramer
Hello,   I want to limit the upload speed for the eth0 Interface for an specific IP.   I used the following script, but its only limits the DOWNLOAD speed.But i want to limit both!   DEV='eth0'tc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth 768kbittc class add  dev $DEV parent 1