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
This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:26 EST