All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] QoS isssue
@ 2002-10-22 13:38 Andreani Luca
  2002-10-22 19:22 ` Stef Coene
  2002-10-22 19:43 ` Stef Coene
  0 siblings, 2 replies; 3+ messages in thread
From: Andreani Luca @ 2002-10-22 13:38 UTC (permalink / raw
  To: lartc

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...

Luca Andreani


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] QoS isssue
  2002-10-22 13:38 [LARTC] QoS isssue Andreani Luca
@ 2002-10-22 19:22 ` Stef Coene
  2002-10-22 19:43 ` Stef Coene
  1 sibling, 0 replies; 3+ messages in thread
From: Stef Coene @ 2002-10-22 19:22 UTC (permalink / raw
  To: lartc

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [LARTC] QoS isssue
  2002-10-22 13:38 [LARTC] QoS isssue Andreani Luca
  2002-10-22 19:22 ` Stef Coene
@ 2002-10-22 19:43 ` Stef Coene
  1 sibling, 0 replies; 3+ messages in thread
From: Stef Coene @ 2002-10-22 19:43 UTC (permalink / raw
  To: lartc

On Tuesday 22 October 2002 21:22, Stef Coene wrote:
> 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 :
oops, 8 bits ....

> 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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-22 19:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-22 13:38 [LARTC] QoS isssue Andreani Luca
2002-10-22 19:22 ` Stef Coene
2002-10-22 19:43 ` Stef Coene

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.