QoS isssue
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 11 lines · Andreani Luca
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
Signature · 8 lines
[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/
Quoted 13 lines · Stef Coene
Quoted 11 lines · Andreani Luca
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...
Quoted 1 line
TOS is just 8 byte, so I think you can do this :
oops, 8 bits ....
Quoted 1 line
u32 match ip tos
0x050xff
Stef
Signature · 8 lines
[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/