[LARTC] iptables mark & iproute related !

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux