Re: [LARTC] IMQ problem -- badly need help

Linux Advanced Routing and Traffic Control

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

 



On Thursday 17 April 2003 11:43, hare ram wrote:
> Hi all Guru's
>
> I have been try to work on this IMQ more than 4 weeks but i could not get
> any results
> really and badly need to help to achive my setup
>
> iam trying to achieve is up+down=total bandwidth, as per the user groups
> suggestion
> i would like to use IMQ to make my setup to achive this
>
> my setup is , RH 9.0 with patch bridge-nf
> and patched IMQ with iptables 1.2.8 and POM also done
> HTB also patched with latest ip route
>
> my bridge is running fine, iam able to use transparent bridge, working that
> also
>
> laptop---switch--eth1(bridge)eht0--switch--Router--internet
>
>
> next i have executed small example
>
> iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev 0
> ----
> " when i executed above line i got this message
> [root@xxxxxx root]# iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev
> 0
> iptables: target `IMQ' v1.2.6a (I'm v1.2.8).
> ----
> iptables -t mangle -A PREROUTING -i eth1 -p tcp --dport 20 -m state --state
> ESTABLISHED -j MARK --set-mark 1
> iptables -t mangle -A PREROUTING -i eth1 -p tcp --dport 80 -m state --state
> ESTABLISHED -j MARK --set-mark 2
> iptables -t mangle -A PREROUTING -i eth1 -p tcp --dport 25 -m state --state
> ESTABLISHED -j MARK --set-mark 3

This is your problem.  I think the iptables rule is not added.  But don't ask 
me why.  Maybe you use the wrong iptables version?  I don't know.  

Stef

-- 

stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



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