Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15133

General • Mark connection problem in Queue tree

$
0
0
Good morning everyone.
I have a configuration in which I have two subnets in two different vlans, and I want to give different upload priorities to the various subnets and to some services (VoIP etc..) via queue tree. I used mangles to mark connections and packages. I see that the connections are marked perfectly (I see them correct in the connection table
Image,
while the packets are not
Image
(the traffic all goes into the no mark queue). Below I report the configuration (cleaned of the sections not related to the topic).
Code:
# 2RouterOS 7.14.1# ## model = RBD52G-5HacD2HnD# /interface bridgeadd ingress-filtering=no name=bridge1 vlan-filtering=yes/interface pppoe-clientadd add-default-route=yes disabled=no interface=ether1 name=pppoe-out1 \    use-peer-dns=yes user=/interface vlanadd interface=bridge1 name=vlan-ezio vlan-id=200add interface=bridge1 name=vlan-ufficio vlan-id=100/interface listadd name=WANadd name=LAN/ip pooladd name=dhcp_pool0 ranges=192.168.1.100-192.168.1.200add name=dhcp_pool1 ranges=10.0.0.100-10.0.0.200/ip dhcp-serveradd address-pool=dhcp_pool0 interface=vlan-ufficio name=dhcp1add address-pool=dhcp_pool1 interface=vlan-ezio name=dhcp2/queue typeadd fq-codel-limit=1000 fq-codel-quantum=300 fq-codel-target=12ms kind=fq-codel \    name=fq-codel/queue treeadd max-limit=30M name="Total Download" parent=bridge1 queue=fq-codeladd name="Other Traffic down" packet-mark=no-mark parent="Total Download" \    queue=fq-codeladd name=HyperBackup packet-mark=hyperbackup_packets parent="Total Download" \    priority=7 queue=fq-codeladd name=Ezio packet-mark=ezio_packets parent="Total Download" priority=6 \    queue=fq-codeladd name=Azienda packet-mark=azienda_packets parent="Total Download" priority=5 \    queue=fq-codeladd name=VoIP packet-mark=VoIP_packets parent="Total Download" priority=1 \    queue=fq-codeladd max-limit=3M name="Total Upload" parent=pppoe-out1 queue=fq-codeladd name=VoIP_Up packet-mark=VoIP_packets parent="Total Upload" priority=1 \    queue=fq-codeladd name=Azienda_Up packet-mark=azienda_packets parent="Total Upload" priority=\    5 queue=fq-codeladd name=Ezio_Up packet-mark=ezio_packets parent="Total Upload" priority=6 \    queue=fq-codeladd name=Hyperbackup_Upload packet-mark=hyperbackup_packets parent=\    "Total Upload" priority=7 queue=fq-codeladd name="Other Traffic Upload" packet-mark=no-mark parent="Total Upload" \    queue=fq-codel/ip addressadd address=192.168.1.1/24 interface=vlan-ufficio network=192.168.1.0add address=10.0.0.1/24 interface=vlan-ezio network=10.0.0.0/ip dhcp-server networkadd address=10.0.0.0/24 dns-server=10.0.0.1 gateway=10.0.0.1add address=192.168.1.0/24 dns-server=192.168.1.1 gateway=192.168.1.1/ip firewall mangleadd action=mark-connection chain=forward comment="VoIP Conn" dst-address-list=\    VoipVoice new-connection-mark=VoIP_conn passthrough=yes src-address-list=\    LANadd action=mark-connection chain=forward dst-address-list=LAN \    new-connection-mark=VoIP_conn passthrough=yes src-address-list=VoipVoiceadd action=mark-packet chain=forward comment="VoIP Packets" connection-mark=\    VoIP_conn new-packet-mark=VoIP_packets passthrough=noadd action=mark-connection chain=forward comment="Hyper Backup Conn" \    dst-address=***** dst-port=61281 new-connection-mark=\    hyperbackup_conn out-interface=pppoe-out1 passthrough=yes protocol=tcpadd action=mark-packet chain=forward comment="Hyper Backup Packets" \    connection-mark=hyperbackup_conn new-packet-mark=hyperbackup_packets \    passthrough=noadd action=mark-connection chain=forward comment="Azienda Conn" \    new-connection-mark=azienda_conn out-interface=pppoe-out1 passthrough=yes \    src-address=192.168.1.0/24add action=mark-packet chain=forward comment="Azienda Packets" connection-mark=\    azienda_conn new-packet-mark=azienda_packets passthrough=noadd action=mark-connection chain=forward comment="Ezio Conn" \    new-connection-mark=ezio_conn out-interface=pppoe-out1 passthrough=yes \    src-address=10.0.0.0/24add action=mark-packet chain=forward comment="Ezio Packets" connection-mark=\    ezio_conn new-packet-mark=ezio_packets passthrough=no
Surely there is something wrong with my configuration, but I don't understand what. I ask you for help. Thank you

Statistics: Posted by simonefil — Fri Mar 29, 2024 4:55 pm



Viewing all articles
Browse latest Browse all 15133

Trending Articles