From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Arindam Haldar" Date: Thu, 03 Jan 2002 14:29:31 +0000 Subject: Re: [LARTC] iptables mark & iproute related ! Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org hi i did those test & as i said in my last mail there is trafic passing thru ir bytes counter r increasing but the tc command doesnt show any restircition. seem like marked pkts r not going thru the iproute any suggestions ?? thanx in anticipation arindam haldar On Wednesday 02 January 2002 05:59, Arindam Haldar wrote: > hi all > > i did the following test again but ..:( .. failed again !! > i need some guidance now from Gurus here.. If you execute iptables -L -v -n -t nat, you can see the byte counters for each rule you inserted. Are these incremented or not if you generate some traffic ? Stef > > iptables -A PREROUTING -t mangle -i eth1 -s ..... -j mark 101 > iptables -A PREROUTING -t nat -i eth1 -s ... -j REDIRECT --to-port 3128 > > tc qdisc ............... handle 101 fw flowid 1:170 > > iptables -nvL INPUT , iptables -nvL -t mangle , iptables -nvL -t nat did > show data passing BUT i couldnt limit bandwidth !! > tc -s -d class/qdisc...... command didnt show any data pasing thru--i.e > it remained ZERO ! -- stef.coene@docum.org More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager" _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/