I read this thread from page 1 - 11 but doesn't find any real guild on setting up QOS for router. So I tough maybe I can test one of the Aztech DSL600ER router / modem which lying around for some time without using it and share with anyone who own an Aztech router / modem. But please bear in mind that the QOS feature inside Aztech router isn't that kind of powerful compare to DD-WRT, OpenWRT, HyperWRT etc and it's kind of buggy.
To start off I'll be using only 3 feature inside the QOS of the Aztech DSL600ER.
- Egress Layer 3
- Qos Shaper Configuration
- Policy Routing Configuration
Egress Layer 3Inside Aztech Firmware >
QoS >
Egress >
Connection > select your
WAN connection name (mine is "
Streamyx", default should be "
quickstart") >
Layer 3 > then configure the priority of CoS1 - CoS6 base on TOS (Terms of Service). Actually I have no idea what's TOS. I google a bit a find
this page. I guess it should be something to do with priority so i just pick the value from CS1 - CS5. @.@
QoS Shaper ConfigurationInside Aztech Firmware >
QoS >
QoS Shaper Configuration >
Interface > select your
WAN connection name (mine is "
Streamyx", default should be "
quickstart") >
Max Rate = Your connection maximum upload rate. You can get this rate by
Speedtest. Usually Max Rate is -5% or -10% of the actual rate. So that if you line speed deteriorate a bit you still have a +/- 5%.
Low Latency Queue Discipline = I use this so that I can configure the max usable rate for CoS2 - CoS6. CoS is actually a priority for the QoS as CoS1 with the highest priority and not rate limited follow by Cos2 - Cos5 and CoS6 is "Best Effort" (what ever left behind or not configure goto CoS6). In this example I set CoS2 - 200Kbits, CoS3 - 100Kbits and so on. This mean if CoS1 didn't consume all bandwidth CoS2 will going to have 200Kbits and if CoS1 + CoS2 didn't use up all bandwidth CoS3 will going to have 100Kbits and so on. I gave CoS6 full rate because it's Best Effort (what ever bandwidth left will assign here).
Policy Routing ConfigurationThis part is the simplest if you know how to configure port forwarding. It's nearly the same. Here you configure which PC or port that's going to the CoS1 - CoS5. Higher priority for the service you need most and lower priority for the service that was less important.
My sample use a single IP accessing the router as 10.1.1.2/32 (forgot to mention my Aztech DSL600ER gateway / IP was 10.1.1.1). If you want to configure a generals rules for all PCs accessing the router you can use 10.1.1.0/24 (or what ever you IP range 192.168.1.0, 192.168.0.0 etc).
First I want to put port 53 UDP (DNS) into CoS1 as I want to DNS service to have highest priority,
Source IP = IP for PC that's accessing this service. I use IP=10.1.1.2, Mask=255.255.255.255 because I only have 1 PC accessing this service. If you want all PC to access this service with the same priority you can put like IP=10.1.1.0, Mask=255.255.255.0 (IP=192.168.1.0, Mask=255.255.255.0).
Destination IP = 0.0.0.0, Mask 0.0.0.0 for wildcat (whatever IP)
Source Port Start - End = nothing as router access dnsserver:53 using a random port.
Destination Port Start - End = 53 - 53
Make sure you select the right
protocol as 53(DNS) is an UDP port.
Here's another example for 443 TCP (HTTPS) to CoS1 priority.

When complete it's something like this,

I put TCP/UDP ports starting from 1024 - 65535 to CoS5 which was lowest priority and only with 1KBits bandwidth (at QoS Shaper Configuration) so that P2P software that uses those ports will suffer heavy drop by QoS. But you need to be careful especially with TCP. Make sure you exclude those important port that may be use by you software / online games etc. Example was 1863 TCP which is use by MSN Live, 5050 TCP by Yahoo Messenger etc.
------------------------------------------------
I gave another example of the fun using the Aztech QoS. First I put 80 TCP (HTTP. port that we use for web surfing and downloading direct file, playback youtube etc inside a browser, download accelerator) into CoS2 that have 200KBits upload bandwidth. Then I start off download a file using a Download Manager (accelerator). And here's how the bandwidth,
Red (In)=Download, Black (Out)=Upload
Here I can have my Download Manager utilizing most of my download speed because it only needed 130KBits +/- upload speed to be able to download at 3.96MBits.
Now I put 80 TCP (HTTP) port to CoS4 which only have 20KBits Upload bandwidth,
Red (In)=Download, Black (Out)=Upload
The download speed now cannot even go over 1MBits because it only have less then 20KBits upload rate to use and it's surely not enough to push to higher download speed. Also mean most of the excessive packet that trying to gain more upload bandwidth was drop by the QoS.
This conclude on my QoS testing on the Aztech DSL600ER Router / Modem. Hope this guild can help those with Aztech Router / Modem setup their QoS. Have FUN.
This post has been edited by myandylai: Nov 11 2010, 03:38 AM