From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Date: Wed, 17 Nov 2004 22:46:41 +0000 Subject: Re: [LARTC] is this scenario possible ??? Message-Id: <419BD4D1.2080200@dsl.pipex.com> List-Id: References: <20041116050157.29369.qmail@web50308.mail.yahoo.com> In-Reply-To: <20041116050157.29369.qmail@web50308.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Drink Linux wrote: > hello . > > i have no problem shaping incoming traffic from WAN > > how do i shape outgoing traffic to WAN depending on > the speed limit of each subnet .... > > ex: > 10.10.6.0 --> 512kbps (DOWNLOAD / UPLOAD) > 10.10.5.0 --> 256kbps (DOWNLOAD / UPLOAD) > > > > do i have to used forward handle, > > and used > iptables -s 10.10.6.0/24 -d WAN -j MARK --set-mark 101 > > and used > iptables -s 10.10.5.0/24 -d WAN -j MARK --set-mark 102 > > what do i really have to use? > prerouting or postrouting. > do i really need to use imq device on this one ? > > i can't seem to get it work ..... > > thanks for anyone can help... It depends on your exact setup - what interfaces do you have to where? Andy. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/