currently I am using a routerBOARD 750 with version 4.11 and what I want to accomplish right now
is QoS on QinQ vlans.
Please take a look at the following interfaces:
Code: Select all
[admin@mikrotik-01] /interface vlan> print
Flags: X - disabled, R - running, S - slave
# NAME MTU ARP VLAN-ID INTERFACE
0 R vlan10 1500 enabled 10 WAN-ether1
1 R c-vlan70 1500 enabled 70 vlan10
2 R c-vlan80 1500 enabled 80 vlan10
(…)
So, the physical port 1 is named "WAN-ether1". This interface has been used to serve as a parent for "vlan10".
The interface "vlan10" serves as a parent for two QinQ vlans: c-vlan70 and c-vlan80.
This all works as it should; packets are flowing.
(Please note that I am using VRF's here:
Code: Select all
/ip route vrf
add comment="" disabled=no interfaces=LAN-DATA,c-vlan70 route-distinguisher=10:70 routing-mark=c-data
add comment="" disabled=no interfaces=LAN-VOIP,c-vlan80 route-distinguisher=10:80 routing-mark=c-voip)
This setup, for example, does not work as expected:
Code: Select all
[admin@mikrotik-01] /queue simple> print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; MAIN-QUEUE_WAN
name="main-queue" dst-address=0.0.0.0/0 interface=WAN-ether1 parent=none direction=both priority=1
queue=default-small/default-small limit-at=10M/10M max-limit=10M/10M burst-limit=0/0 burst-threshold=0/0
burst-time=0s/0s total-queue=default-small
1 ;;; CHILD-QUEUE_WAN-DATA
name="data-child-queue" dst-address=0.0.0.0/0 interface=c-vlan70 parent=main-queue direction=both priority=8
queue=default-small/default-small limit-at=2M/2M max-limit=3M/3M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
total-queue=default-small
2 ;;; CHILD-QUEUE_WAN-VOIP
name="voip-child-queue" dst-address=0.0.0.0/0 interface=c-vlan80 parent=main-queue direction=both priority=1
queue=default-small/default-small limit-at=5M/5M max-limit=5M/5M burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
total-queue=default-small
bound for the outside world would have to be processed by this interface.
I expected to be able to get at most 3 MB in the queue "data-child-queue".
However, QoS does not seem to kick in at all in this example.
Only when I set the 'interface' of MAIN-QUEUE_WAN to "all" or "c-vlan70" I indeed get 3 MB. This is not what
I expected.
Is there anybody who has expercience with both QinQ vlans and QoS on RouterOS?
I followed the packet flow as described in: http://wiki.mikrotik.com/wiki/Manual:Packet_Flow
but this does not seem to work this way when using nested vlan interfaces.
Any explanation regarding this subject is more then welcome.
Best regards,
Emiel