CONFIGURATION FILES
CHAPTER 5
48
ECOTEL 3G 16.1. Revised: 1 March 2011.
Example: In the following example, prioritization is set for an eight-channel VoIP connection. The SIP sig-
naling port 5060 and the RTP/RTCP ports 29000 to 29015 are prioritized at level 7. All other ser-
vices are set at level 0:
<class>
Two types can be set:
realtime_class (VoIP packets)
regular_class (data packets)
<prio>
Enter a value between 0 and 15. The higher the value (e.g. 15), the higher the priority.
filter <interface> <class> <values>
Defines the individual rules.
<values>
The individual values are divided into the following entries. A 0 can be entered as a wild-
card, in which case all values are possible:
<dest_addr> (can be followed by netmask <mask>)
<dest_port>
<src_addr> (can be followed by netmask <mask>)
<src_port>
<protocol tos value>:
6 for TCP
17 for UDP
[altqd]
interface pppoe0 bandwidth 256K priq
class priq pppoe0 realtime_class root priority 7
filter pppoe0 realtime_class 0 5060 0 0 0
filter pppoe0 realtime_class 0 0 0 5060 0
filter pppoe0 realtime_class 0 29000 0 0 17
filter pppoe0 realtime_class 0 0 0 29000 17
filter pppoe0 realtime_class 0 29001 0 0 17
filter pppoe0 realtime_class 0 0 0 29001 17
....
filter pppoe0 realtime_class 0 29014 0 0 17
filter pppoe0 realtime_class 0 0 0 29014 17
filter pppoe0 realtime_class 0 29015 0 0 17
filter pppoe0 realtime_class 0 0 0 29015 17
class priq pppoe0 regular_class root priority 0 default
Table 5.7 Settings in the [altqd] Section of the ip.cfg (continued)
interface <interface> bandwidth <bw> priq