From: "gaston" Date: Tue, 20 Jan 2004 04:34:19 +0000 Subject: Re: [LARTC] Shaping inbound ok, outbound wrong Message-Id: List-Id: References: <000901c3deae$e465abd0$cd302bc8@traza> In-Reply-To: <000901c3deae$e465abd0$cd302bc8@traza> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Yes, I think my problem is on the filters. Actually I`m quite confused. If I have eth0 facing the link and eth1 facing the LAN. I should shape=20 download in eth1 and upload in eth0, right? So, for example I should use this filter for shap=ECng upload tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip src 200.43.134.17 classid 1:102 And this one for download tc filter add dev eth1 parent 1:0 protocol ip prio 100 u32 match ip dst 200.43.134.17 classid 1:80 Is this correct? Thanks a lot Stef. -----Original Message----- From: Stef Coene To: Gast=F3n , Date: Mon, 19 Jan 2004 19:22:53 +0100 Subject: Re: [LARTC] Shaping inbound ok, outbound wrong > On Monday 19 January 2004 18:08, Gast=F3n wrote: > > Hi, I=B4m shaping traffic using htb on both interfaces, I noticed that > > shaping download traffic is workinggreat but shaping upload traffic > is not > > working at all (no sent packets, no dropped, no overlimits) > If you don't have dropped packets, you are not shaping. That means > that your=20 > rates are too high. You will ony be able to shape if YOU are the > bottleneck=20 > and not the router. > So try to lower the rate/ceil untill you see some dropped packets.=20 > Also,=20 > check out the filter rules and make sure that the traffic ends up in > the=20 > class you want. If you don't have any sent packets, your filters are > probaly=20 > not working. >=20 > Stef >=20 > --=20 > stef.coene@docum.org > "Using Linux as bandwidth manager" > http://www.docum.org/ > #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/