From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damion de Soto Date: Tue, 20 Jan 2004 04:59:43 +0000 Subject: Re: [LARTC] Shaping inbound ok, outbound wrong Message-Id: <400CB5BF.2040006@snapgear.com> 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? Correct. > 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 >=20 > 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 What is 200.43.134.17? Is that a machine on your LAN? Is your network fully routed or are you using MASQ/NAT ? If that is a PC on your LAN, and you have a fully routed subnet, and all yo= ur=20 qdiscs/classes are setup correctly, then yes, those filters should work. otherwise no. --=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Damion de Soto - Software Engineer email: damion@snapgear.com SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809 | Custom Embedded Solutions fax: +61 7 3891 3630 | and Security Appliances web: http://www.snapgear.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- Free Embedded Linux Distro at http://www.snapgear.org --- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/