On Friday 26 November 2004 13:38, James Lista wrote:
> buddies,
>
> im newbie to traffic control and been studying htb scripts (examples), I
> wonder how to use params, this line below for ex.:
> --------
> $TC filter add dev $WAN parent 1: protocol ip prio 10 u32 match ip protocol
> 6 0xff match u 8 0x05 0x0f at 0 match u16 0x0000 0xffc0 at 2 match u8 0x10
> 0xff at 33 flowid 1:$VIP
> --------
>
> I understood it is adding a filter to go to class $VIP in device wan (eth0
> in my case)........
> I also understant that "match ip protocol 6"  <-- 6 = TCP - I see that in
> /etc/protocols, but why that 0xff after it ?
>
> can someone explain the rest of the params ?  I donnot understant those
> params like prio 10, u32, match u16 0x0000 0xffc0, etc !
Start reading and reading and reading and more reading:
http://www.lartc.org
http://www.docum.org

Stef

-- 
[EMAIL PROTECTED]
�"Using Linux as bandwidth manager"
� � �http://www.docum.org/
_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to