On Tuesday 22 October 2002 15:38, Andreani Luca wrote: > Dear all, > > I have a linux box with two NICs: eth0 (10 Mbit) and pvc0 (64Kbit) (pvc > over frame-relay with a WAN card). > I have two kinds of traffic incoming on eth0: Best effort traffic (TOS=0) > and VoIP traffic (TOS=5). > I want to simply configure the linux box so that It priorizes the VoIP > packets so that all VoIP packets are sent before transmitting the BE > packets. Which command I need with tc? > Looking at LARTC Howto It seems that I can match only packets with TOS > 2,4,8 and 16... I didn't understand very well that part... TOS is just 8 byte, so I think you can do this : u32 match ip tos 0x05 0xff Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/