[LARTC] iptables mark & iproute related !

Linux Advanced Routing and Traffic Control

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

 



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 fo=
r=20
each rule you inserted.  Are these incremented or not if you generate som=
e=20
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 312=
8
>
> tc qdisc ............... handle 101 fw flowid 1:170
>
> iptables -nvL INPUT , iptables -nvL -t mangle , iptables -nvL -t nat di=
d
> 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 !

--=20

stef.coene@docum.org
 More QOS info : http://www.docum.org/
 Title : "Using Linux as bandwidth manager"
    =20



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