From mboxrd@z Thu Jan 1 00:00:00 1970 From: Craig Main Date: Sat, 20 Nov 2004 07:10:57 +0000 Subject: Re: [LARTC] Help with prioritizing internet Cafe Terminals Message-Id: <30d1386204111923104ce0bb36@mail.gmail.com> List-Id: References: <30d1386204111702416df3371c@mail.gmail.com> In-Reply-To: <30d1386204111702416df3371c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org That was a typo on my part...I am more interested in the actual tc commands and setups. Will they do what I want? Thanks C On Fri, 19 Nov 2004 12:36:20 -0500, Jason Boxman wrote: > On Friday 19 November 2004 07:59, Craig Main wrote: > > I have out together the following script, can those in the know please > > comment on what I have done and whether it will achieve what I am > > looking for. Many thanks. > > > > > > > iptables -F PREROUTING -t mangle > > > > iptables -A PREROUTING -t mangle -i eth0 -p tcp -s 192.168.0.1 -j MARK > > --set-mark 1 > > iptables -A PREROUTING -t mangle -i eth0 -p tcp -s 192.168.0.2 -j MARK > > --set-mark 1 > > You are giving all your addresses the same MARK? I don't think that's what > you want. > > > iptables -A PREROUTING -t mangle -i eth0 -p tcp -s 192.168.0.3 -j MARK > > --set-mark 1 > > iptables -A PREROUTING -t mangle -i eth0 -p tcp -s 192.168.0.4 -j MARK > > --set-mark 1 > > -- > > Jason Boxman > Perl Programmer / *NIX Systems Administrator > Shimberg Center for Affordable Housing | University of Florida > http://edseek.com/ - Linux and FOSS stuff > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/