OpenWrt Forum Archive

Topic: QoS with RC4

The content of this topic has been archived on 1 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm using White Russian RC4 and the QoS scripts from this page of the FAQ and here is what I have for my qos-wan file.

class:Priority
burstrate:150
bursttime:35
avgrate:15
share:20
end

class:VOIP
burstrate:150
bursttime:25
avgrate:50
share:50
end

class:Normal
burstrate:80
bursttime:50
avgrate:24
share:20
end

class:Bulk
share:1
limit:80
end

classify:Bulk:layer7=bittorrent
classify:VOIP:src=192.168.1.225

option:enabled
option:upload:500
option:download:5000

option:priority:Priority
option:bulk:Bulk
option:defaultlow:Normal
option:default:Bulk
option:bulk_dl:Normal:10

I haven't tested this extensively, but something tells me that it probably won't work as I expect. I have a VOIP ATA with a statically assigned address of 192.168.1.225 (hence the classify) and the bittorrent pat file in the l7-filters folder. I'd like all VOIP traffic to get priority (or VOIP class as provided in the original file). I've gone through the forums but I can't find a lot of threads about people using this new QoS feature set so I'm hoping that this topic can get the conversation started. Any help would be appreciated.

I am using

#classify:Bulk:layer7=edonkey
classify:Priority:proto=udp dport=53,5190
classify:Priority:proto=tcp dport=22,53,5190
classify:VOIP:src=10.10.10.5
#classify:VOIP:dest=10.10.10.5   # downstream shaping is not implemented, yet

and it works like a charm.

Alright, hmm. I'm a little unclear about the bottom part:

option:priority:Priority
option:bulk:Bulk
option:defaultlow:Normal
option:default:Bulk
option:bulk_dl:Normal:10

As the VOIP classification hasn't been given a line here yet all the other classifications have.

The discussion might have continued from here.