Policy-Based QOS Configuration
From ImageStream Router Documentation
Revision as of 21:04, 13 November 2009 by Syoder
- The 4.4.0 distribution utilizes an improved policy-based configuration for quality of service. The default rc.qos script has examples that use a new QoS library of functions, greatly simplifying QoS configuration.
- The QOS_SERVICE command defines parameters that match a type of service such as Web traffic or SMTP traffic. ImageStream pre-defines many services that can be added to or modified.
- Currently only tc filter matches are supported. See the Linux Advanced Routing and Traffic Control guide for more information on tc filter matching.
- Usage: QOS_SERVICE --name <service_name> [--init] --tc_match <tc_filter_command_match>
- Create a new service called ims1 that matches traffic to and from 126.96.36.199
QOS_SERVICE --name ims1 --init --tc_match protocol ip u32 match ip src 188.8.131.52 QOS_SERVICE --name ims1 --tc_match protocol ip u32 match ip dst 184.108.40.206
- It is also possible to add on to a pre-defined service. Simply omit the '--init' option to add another match to a service.
- In addition to the IP ToS bit matches also match on the SIP server's IP at 220.127.116.11.
QOS_SERVICE --name voip --tc-match protocol ip u32 match ip src 18.104.22.168 QOS_SERVICE --name voip --tc-match protocol ip u32 match ip dst 22.214.171.124