Hi there, i need a simple prioritize for my SIP+RTP connection.
The tc scripts + luci-app a to complex and to resource intensiv for my O2-Box 6431 with Lantiq VRX200 Chipset + 64MB RAM
I have used in the past a simple script that i add (include) to the firewall.
For prioritize the output i use the normal tri-band priority by using the TOS-field (0x10 0x12 0x14 0x16 for band 0)
(can be doing in Asterisk)
For prioritize the input i use tc + ingress filter like:
dev=$(uci get network.wan_dsl.ifname) tc qdisc add dev $dev handle ffff: ingress # here i prior the packets with TOS flag low Delay tc filter add dev $dev parent ffff: protocol ip prio 10 u32 match ip tos 0x10 0xff flowid :0 police pass tc filter add dev $dev parent ffff: protocol ip prio 11 u32 match ip tos 0x12 0xff flowid :0 police pass # ... 0x14 and 0x16 tc filter add dev $dev parent ffff: protocol ip prio 30 u32 match ip src 0.0.0.0/0 flowid :2 police rate 50mbit burst 500k drop
1.) It works in the past (LEDE 17.01.4) but now (LEDE snapshot 12/2017) i get this error:
How can i solve this ?
2.) I do not know the source where i have write up and i have not really an idea waht i am doing here.
2a) what is the meaning of "prio 10" or "prio 11" ?
2b.) what is the meaning of "flowid :0" or "flowid :2" are this the bands of the sending queue ?