On Saturday 07 December 2002 22:41, Gabor Csuri wrote:
> Hi,
>
>  here is my outputs coming:
>
> [root@basement sysconfig]# iptables -t mangle -nvL
> Chain FORWARD (policy ACCEPT 2043K packets, 1812M bytes)
>  pkts bytes target     prot opt in     out     source
> destination
> 88476   60M MARK       tcp  --  *      *       192.168.1.0/24
> !192.168.1.0/24     tcp dpts:1024:1862 MARK set 0x1
> 53899   13M MARK       tcp  --  *      *       192.168.1.0/24
> !192.168.1.0/24     tcp dpts:1864:65535 MARK set 0x1
Ok, the packets are marked.

> [root@basement sysconfig]# tc -s -d class show dev ppp0
> class cbq 1:40 parent 1:1 leaf 40: rate 8Kbit cell 8b prio 2/2 weight 8Kbit
> allot 1600b
> level 0 ewma 5 avpkt 1000b maxidle 23us
>  Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
>   borrowed 0 overactions 0 avgidle 624 undertime 0
So no packet is redirected to class 1:40 like you want.  Is it possible that 
you have a filter that matches the same packets and it processed before the 
extra filter you added?  You can try to put your filter at the top of the 
script or give it a lower prio parameter so it has a higher priority.

Stef

-- 

[EMAIL PROTECTED]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to