Hi,
I made my works.
Here my Mangle rule:
DSCP_MANGLE
chain=postrouting action=mark-packet new-packet-mark=voip-1 passthrough=yes dscp=46 log=yes log-prefix="DSCP-VOIP"
Here my Queue Tree for upload part:
0 ;;; --- Upload ---
name="UPLOAD" parent=ether1-WAN packet-mark="" limit-at=50M queue=default-small priority=8 max-limit=50M burst-limit=0 burst-threshold=0 burst-time=0s
bucket-size=0.1
1 name="Voip" parent=UPLOAD packet-mark=voip-1 limit-at=25M queue=default-small priority=1 max-limit=25M burst-limit=0 burst-threshold=0 burst-time=0s
bucket-size=0.1
2 name="other Upload" parent=UPLOAD packet-mark=no-mark limit-at=30M queue=default-small priority=8 max-limit=30M burst-limit=0 burst-threshold=0 burst-time=0s
bucket-size=0.1
It works, I can guaranteed enought BW for my upload Voip Trafic. Does it make sens?
Now I want Vlan my trafic, what is the best way to do that?
My CCR1009 actualy use Ether2 to ether5 as main data transport using Airfiber to get next towers.
ether2 = airfiber#1
ether3 = airfiber#2
ether4 = airfiber#3
ether5 = airfiber#4
So traffic is comming from 4 ports. all of those airfiber are getting an other part of the network from towers. All of my network is briged, not routed.
So the question is:
How do i set vlans for VOIP data? Should I add Vlan interface on every ethernet port of the CCR1009 thus creat virtual network for any legs of my network, or should I set 1 VLAN for ALL Voip trafic?
Thank you all friends for your help and support.