From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Fri, 06 Sep 2002 09:27:40 +0000 Subject: Re: [LARTC] Wondershaper Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Friday 06 September 2002 10:52, Sebastian Bleikamp wrote: > Hi ! > > I=B4ve been using the wonderful wondershaper from chapter 15.8 of the > LARTC Howto for some time. It=B4s really wonderful. That's exactly why it's called the wondershaper :) > Actually, I use the version from > http://freshmeat.net/projects/wshaper/?topic_id=3D87 > > Now I tried to put some hosts to low priority, and it doesn=B4t work. The > traffic is splitted equally between the noprio and the other hosts. > Is this because I use ip masquerading, and all the traffic seems (for > the shaper) to come from one host ? The U32 filter and the other setup > works correctly, because e.g. ssh traffic on port 23 always has highest > priority. > > Has anybody an idea how to fix it ? You can use an other filter : fw. This filter can use the iptables/ipchain= s=20 mark. And you can put this mark when the packets enters the LAN NIC so you= =20 can use the ip-address of the incoming packets from your lan, mark this=20 packets and use the mark on the internet NIC. > I think a nice sketch about the order of routing/postrouting and traffic > shaping would help me. I have one on docum.org, but it needs some updates. It's the one posted so= me=20 months ago on this list. You can find it under KPTD. Stef --=20 stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/