Hi,
I recently noticed that a simple queue:
/queue simple
add max-limit=10M/100M name=test queue=\
pcq-upload-default/pcq-download-default target=\
192.168.23.0/24,192.168.11.0/24
Would count the traffic twice on a Capsman VLAN interface:
/interface vlan
add interface=bridge name=vlan23 vlan-id=23
/caps-man datapath
add bridge=bridge name=Datapath-LAN
add bridge=bridge name=Datapath-VLAN23 vlan-id=23 vlan-mode=use-tag
There is PCC load balancing but nothing unusual… connections are marked and routed accordingly…
/ip firewall mangle
add action=mark-connection chain=prerouting connection-mark=no-mark \
in-interface=conn1 new-connection-mark=ISP-1
add action=mark-connection chain=prerouting connection-mark=no-mark \
in-interface=conn2 new-connection-mark=ISP-2
add action=mark-connection chain=prerouting connection-mark=no-mark \
dst-address-type=!local in-interface=bridge new-connection-mark=ISP-1 \
passthrough=yes per-connection-classifier=src-address:2/0 src-address=\
192.168.11.0/24
add action=mark-connection chain=prerouting connection-mark=no-mark \
dst-address-type=!local in-interface=bridge new-connection-mark=ISP-2 \
passthrough=yes per-connection-classifier=src-address:2/1 src-address=\
192.168.11.0/24
add action=mark-connection chain=prerouting connection-mark=no-mark \
dst-address-type=!local in-interface=vlan23 new-connection-mark=ISP-1 \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/0 \
src-address=192.168.23.0/24
add action=mark-connection chain=prerouting connection-mark=no-mark \
dst-address-type=!local in-interface=vlan23 new-connection-mark=ISP-2 \
passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1 \
src-address=192.168.23.0/24
add action=mark-routing chain=prerouting connection-mark=ISP-1 \
in-interface=bridge new-routing-mark=ToISP1 passthrough=yes src-address=\
192.168.11.0/24
add action=mark-routing chain=prerouting connection-mark=ISP-2 \
in-interface=bridge new-routing-mark=ToISP2 passthrough=yes src-address=\
192.168.11.0/24
add action=mark-routing chain=prerouting connection-mark=ISP-1 \
in-interface=vlan23 new-routing-mark=ToISP1 passthrough=yes src-address=\
192.168.23.0/24
add action=mark-routing chain=prerouting connection-mark=ISP-2 \
in-interface=vlan23 new-routing-mark=ToISP2 passthrough=yes src-address=\
192.168.23.0/24
add action=mark-routing chain=output connection-mark=ISP-1 \
new-routing-mark=ToISP1
add action=mark-routing chain=output connection-mark=ISP-2 \
new-routing-mark=ToISP2
When testing on a wireless client that belongs to VLAN23, when for example the actual download rate on my device is 50Mbps, the queue shows 100Mbps so it maxes out… the same goes for the upload, my actual upload rate is 5Mbps but the queue shows 10Mbps so it reaches its limit… All rates up/down are showing x 2 under the Queue …
The same does not happen when testing on a device that belongs to the Bridge interface ( not the VLAN23 )…
There are no other queues or queue trees, no other policy routing rules etc…
It seems that the queue captures the traffic twice, but why ? never had seen that behavior in the past on same configurations…
Any suggestions ?
I tried to replicate on another device but to my surprise i couldn’t..
ROS version is 6.49