On Mer 20 juillet 2005 16:11, Thorsten Gehrig a écrit :
> hi,
> i´am new in tcc (tcng). i try to define my qos for VoIP-Services.
> For this i wantto define a class for a port range 10000 till 15000.
>
> how is the right way?
> this down works:
> class (<$voip>) if tcp_sport => 10000 || tcp_sport <= 10000 ;
>
> are there any examples of real installations - maybe including VoIP,
> HTTP and P2P services?
>
> regards
> thorsten gehrig
>

Hi,

You may want to use the mask.
Go to the LART QoS Cookbook, and you'll see tc filter lines with:

"21 0xfffff"

If you want to match both 21 and 22, use: "22 0xffffe"

Regards,

Sylvain

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to