This may be a stupid question, but why not limit only one side of the
pipe? Traffic into the box may run at full speed, however it will be
limited on how much data can be pushed out the other side. I suppose the
next question is how much load does it take before one starts
overrunning buffers in the "router" and packets are lost in this
scenario?
Halcyon wrote:
>
> Hello all,
> I really hope someone can help me with this problem, because I've been
> struggling with it for a while now. Basically, I have a Masquerading
> linux system that I want to limit traffic to an internal IP to 10K/s. I
> compiled my kernel with QoS support and setup the CBQ.init script for both
> eth0 and eth1, but for some reason only eth0 is successfully shaping the
> traffic and not eth1. My setup is as follows:
> [outside]----eth1--[]--eth0----[internalsystem]
>
> So currently, my situation is that incoming traffic is limited to 10K/s,
> but outgoing traffic is not limited. When I run "/tc -s -d qdisc ls dev
> eth1", I get the following output:
> --------------
> qdisc tbf 8030: rate 100Kbit burst 10Kb/8 mpu 0b lat 488.3ms
> Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
>
> qdisc cbq 11: rate 10Mbit cell 8b (bounded,isolated) prio no-transmit/8
> weight 10Mbit allot 1514b
> level 2 ewma 5 avpkt 1000b maxidle 23us
> Sent 7407 bytes 86 pkts (dropped 0, overlimits 0)
> borrowed 0 overactions 0 avgidle 624 undertime 0
> --------------
>
> When comparing this to eth0, I notice that in the top part I should see
> that tbf is sending and recieving packets, but alas it stays at 0.
>
> If anyone can help, I'd REALLY appreciate it!!!
>
> -Halcyon
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.rutgers.edu
-- John LeMay Jr. Senior Enterprise Consultant NJMC, LLC.The rules have changed... Get paid to surf the web!!! http://www.alladvantage.com/go.asp?refid=bdc893 - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.rutgers.edu
This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:26 EST