From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arindam Haldar Date: Wed, 02 Jan 2002 04:53:23 +0000 Subject: [LARTC] iptables mark & iproute related ! Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org hi all i did the following test again but ..:( .. failed again !! i need some guidance now from Gurus here.. 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 ! i am already running a bandwidth restrictor(cbq+sfq) & while doing this test i only changed the above tc command ! my requirement is to provide bandwidth based on port network(local net). iproute2 verision ss010803 iptables version v1.2.4 kernel 2.4.17 i would be grateful for some direction .... thanx in anticipation arindam haldar _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/