now seems work even with the cache simple queues at the bottom of list.
im trying with v6.0 now, maybe they change the order of execution.
yep, but you need to remember: first queue tree, then simple queuesSo there is no more need to remember who will get traffic first - simple queues or queues in "Global" queue tree. Now traffic can be captured by both separately and independently.
as far as I (I hope) can (still) understand, Simple Queue with parent=none creates up to three hidden queues of queue tree with parent=global (well, according to this topic, simple queues are now completely separated from queue tree, so let's call it one more queue tree with the name 'global-2' )Can anyone explain to me what's the meaning of the priority parameter in Simple Queues. I do understand what this parameters does when specified on the child queues in a Queue Tree, but that does not quite seem to apply to Simple Queues... Or does it? Any thoughts?
why dont you use this script to move the desired queue to topno, no problem at all with that, just need get used to think it other way.
anyway is working now with simple queues.
my last question is about the priority in queue list, i mean, the dynamic ones always are in top of the list.
how works the execution order in simple queue list? by order list? or by priority?
no, it's notisn't a packet in v6 now pulled though 'global' queue twice?
I exactly have a scenario like this.Can someone please clarify this for me. I'm trialing ROS 6.x and got confused regarding QoS.
I was running double QoS on 5.x
- mangle prerouting + global-in to prioritise traffic
- mangle forwarding + global-out for PCQ to give each client equal bw
Just like found on many MT presentations and documents..
Now in 6.x there's no global-in/out but only 'global'.
The first post here suggests that double QoS can be achieved by combining simple queues and qtree.
That's fine, but isn't a packet in v6 now pulled though 'global' queue twice? Can't I reuse the principle from before v6 by using only 'global' for both prioritising and shaping?
If a packet gets marked differently before each pass through 'global', isn't that the same as if going first through 'global-in' and then 'global-out'?
Am I missing something?
Thanks!
I have the same problem with 6.7, I use global-in to prioritise traffic and global-out for PCQ to give each client equal bwCan someone please clarify this for me. I'm trialing ROS 6.x and got confused regarding QoS.
I was running double QoS on 5.x
- mangle prerouting + global-in to prioritise traffic
- mangle forwarding + global-out for PCQ to give each client equal bw
Just like found on many MT presentations and documents..
Now in 6.x there's no global-in/out but only 'global'.
The first post here suggests that double QoS can be achieved by combining simple queues and qtree.
That's fine, but isn't a packet in v6 now pulled though 'global' queue twice? Can't I reuse the principle from before v6 by using only 'global' for both prioritising and shaping?
If a packet gets marked differently before each pass through 'global', isn't that the same as if going first through 'global-in' and then 'global-out'?
Maybe my configuration can help you to resolve this problem:You can give only one mangle exemple for the two tables (double WAN with QOS HTB) in version 6.7 ?
Interface Ether 1 = WAN-A ( IP-1 10.10.10.10 ) <-Default Route.
Interface Ether 2 = WAN-B ( IP-2 20.20.20.20 ) <-Second Link (With LOAD BALANCE WEB CONN PORT 80)
Interface Ether 3, 4 , 5 = (LAN Bridged and NATed).
I need after all mangle marked set those on QOS HTB with exemples to upload e download. You can exemplify?
#================================================ # For RB750GL and ROS v6.x # WAN connect to Internet: # - eth1-ISP1 from ISP1 (FE:Down-100Mbps/Up-100Mbps/static IP) # - eth1-ISP2 from ISP2 (DOCSIS3.0>GE:Down-150Mbps/Up-5Mbps/dynamic IP) # LAN switch: # - eth3-LAN-master # - eth4-LAN-slave # - eth5-LAN-slave # Address List: # - LAN - define IP ranges for Local network # - to-ISP1 - Addresses accessible through ISP1 # - to-ISP2 - Addresses accessible through ISP2 #================================================ /ip firewall mangle add chain=prerouting action=jump jump-target=in-ISP1 in-interface=eth1-ISP1 \ comment="Trafic incoming ISP1" add chain=prerouting action=jump jump-target=in-ISP2 in-interface=eth2-ISP2 \ comment="Trafic incoming ISP2" add chain=prerouting action=jump jump-target=connect-new connection-state=new \ comment="Call mark 'new-connection' for prerouting" add chain=prerouting action=jump jump-target=connect-related connection-state=related \ comment="Call mark 'related-connection' for prerouting" add chain=output action=jump jump-target=connect-new connection-state=new \ comment="Call mark 'new-connection' for output" add chain=output action=jump jump-target=connect-related connection-state=related \ comment="Call mark 'related-connection' for output" add chain=prerouting action=mark-routing new-routing-mark=R:balans-ISP1 connection-mark=C:balans-ISP1 \ passthrough=no comment="Routing balanced ISP1" add chain=prerouting action=mark-routing new-routing-mark=R:balans-ISP2 connection-mark=C:balans-ISP2 \ passthrough=no comment="Routing balanced ISP2" add chain=prerouting action=mark-routing new-routing-mark=R:static-ISP1 connection-mark=C:Admin \ passthrough=no comment="Routing outgoing-Admin packets to ISP1" add chain=prerouting action=mark-routing new-routing-mark=R:static-ISP1 connection-mark=C:WebSurf \ passthrough=no comment="Routing outgoing-WebSurf packets to ISP1" add chain=prerouting action=mark-routing new-routing-mark=R:static-ISP1 connection-mark=C:static-ISP1 \ passthrough=no comment="Routing packet statically outgoing ISP1" add chain=prerouting action=mark-routing new-routing-mark=R:static-ISP2 connection-mark=C:static-ISP2 \ passthrough=no comment="Routing packet statically outgoing ISP2" add chain=prerouting action=mark-routing new-routing-mark=R:static-ISP1 connection-mark=C:in-ISP1-Admin \ passthrough=no comment="Routing Admin-packet returning to ISP1 from LAN" add chain=prerouting action=mark-routing new-routing-mark=R:static-ISP2 connection-mark=C:in-ISP2-Admin \ passthrough=no comment="Routing Admin-packet returning to ISP2 from LAN" add chain=output action=mark-routing new-routing-mark=R:static-ISP1 connection-mark=C:in-ISP1-Admin \ passthrough=no comment="Routing Admin-packet returning to ISP1 from ROS" add chain=output action=mark-routing new-routing-mark=R:static-ISP2 connection-mark=C:in-ISP2-Admin \ passthrough=no comment="Routing Admin-packet returning to ISP2 from ROS" add chain=prerouting action=mark-routing new-routing-mark=R:static-ISP1 connection-mark=C:in-ISP1 \ passthrough=no comment="Routing packet returning to ISP1 from LAN" add chain=prerouting action=mark-routing new-routing-mark=R:static-ISP2 connection-mark=C:in-ISP2 \ passthrough=no comment="Routing packet returning to ISP2 from LAN" add chain=output action=mark-routing new-routing-mark=R:static-ISP1 connection-mark=C:in-ISP1 \ passthrough=no comment="Routing packet returning to ISP1 from ROS" add chain=output action=mark-routing new-routing-mark=R:static-ISP2 connection-mark=C:in-ISP2 \ passthrough=no comment="Routing packet returning to ISP2 from ROS" add chain=in-ISP1 connection-mark=!no-mark comment="Accept marked connection incoming ISP1" add chain=in-ISP1 action=mark-connection new-connection-mark=C:in-ISP1-Admin connection-state=new \ protocol=tcp dst-port=22,3389,8291 \ passthrough=no comment="New Admin (SSH/RDP/WinBox) connection incoming ISP1" add chain=in-ISP1 action=mark-connection new-connection-mark=C:in-ISP1 connection-state=new \ passthrough=no comment="New connection incoming ISP1" \ add chain=in-ISP1 action=mark-connection new-connection-mark=C:in-ISP1 connection-state=related \ passthrough=no comment="Related connection incoming ISP1" \ add chain=in-ISP2 connection-mark=!no-mark comment="Accept marked connection incoming ISP2" add chain=in-ISP2 action=mark-connection new-connection-mark=C:in-ISP2-Admin connection-state=new \ protocol=tcp dst-port=22,3389,8291 \ passthrough=no comment="New Admin (SSH/RDP/WinBox) connection incoming ISP2" add chain=in-ISP2 action=mark-connection new-connection-mark=C:in-ISP2 connection-state=new \ passthrough=no comment="New connection incoming ISP2" add chain=in-ISP2 action=mark-connection new-connection-mark=C:in-ISP2 connection-state=related \ passthrough=no comment="Related connection incoming ISP2" add chain=connect-new action=mark-connection new-connection-mark=C:LAN-ROS src-address-list=LAN dst-address-type=local \ passthrough=no comment="New connection from LAN to ROS" add chain=connect-related action=mark-connection new-connection-mark=C:LAN-ROS src-address-list=LAN dst-address-type=local \ passthrough=no comment="Related connection from LAN to ROS" add chain=connect-new action=mark-connection new-connection-mark=C:ROS-LAN src-address-type=local dst-address-list=LAN \ passthrough=no comment="New connection from ROS to LAN" add chain=connect-related action=mark-connection new-connection-mark=C:ROS-LAN src-address-type=local dst-address-list=LAN \ passthrough=no comment="Related connection from ROS to LAN" add chain=connect-new action=mark-connection new-connection-mark=C:ROS-WAN src-address-type=local dst-address-list=!LAN \ passthrough=no comment="New connection from ROS to WAN" add chain=connect-related action=mark-connection new-connection-mark=C:ROS-WAN src-address-type=local dst-address-list=!LAN \ passthrough=no comment="Related connection from ROS to WAN" add chain=connect-new action=mark-connection new-connection-mark=C:Admin \ src-address-list=LAN protocol=tcp dst-port=22,3389,8291 \ comment="New connection Admin (SSH/RDP/WinBox) LAN>WAN" add chain=connect-new action=mark-connection new-connection-mark=C:WebSurf \ src-address-list=LAN protocol=tcp dst-port=80,443 \ comment="New connection WebSurf (HTTP/HTTPS) LAN>WAN" add chain=connect-new action=mark-connection new-connection-mark=C:static-ISP1 connection-mark=no-mark \ dst-address-list=to-ISP1 src-address-list=LAN \ comment="New connection LAN>AdrList:to-ISP1" add chain=connect-new action=mark-connection new-connection-mark=C:static-ISP2 connection-mark=no-mark \ dst-address-list=to-ISP2 src-address-list=LAN \ comment="New connection LAN>AdrList:to-ISP2" add chain=connect-related action=mark-connection new-connection-mark=C:static-ISP1 connection-mark=no-mark \ dst-address-list=to-ISP1 src-address-list=LAN \ comment="Related connection LAN>AdrList:to-ISP1" add chain=connect-related action=mark-connection new-connection-mark=C:static-ISP2 connection-mark=no-mark \ dst-address-list=to-ISP2 src-address-list=LAN \ comment="Related connection LAN>AdrList:to-ISP2" add chain=connect-new action=mark-connection new-connection-mark=C:balans-ISP1 connection-mark=no-mark src-address-list=LAN \ comment="New connection to WAN with balancing PCC-2/1" per-connection-classifier=both-addresses:2/0 add chain=connect-new action=mark-connection new-connection-mark=C:balans-ISP2 connection-mark=no-mark src-address-list=LAN \ comment="New connection to WAN with balancing PCC-2/2" per-connection-classifier=both-addresses:2/1 add chain=connect-related action=mark-connection new-connection-mark=C:balans-ISP1 connection-mark=no-mark src-address-list=LAN \ comment="Related connection to WAN with balancing PCC-2/1" per-connection-classifier=both-addresses:2/0 add chain=connect-related action=mark-connection new-connection-mark=C:balans-ISP2 connection-mark=no-mark src-address-list=LAN \ comment="Related connection to WAN with balancing PCC-2/2" per-connection-classifier=both-addresses:2/1 add chain=postrouting action=mark-packet new-packet-mark=P:LAN-WAN-Admin_out connection-mark=C:Admin src-address-list=LAN \ passthrough=no comment="Packet-out Admin LAN>WAN" add chain=postrouting action=mark-packet new-packet-mark=P:LAN-WAN-Admin_in connection-mark=C:Admin dst-address-list=LAN \ passthrough=no comment="Packet-in Admin LAN>WAN" add chain=input action=mark-packet new-packet-mark=P:ISP1-ROS-Admin_in connection-mark=C:in-ISP1-Admin dst-address-type=local \ passthrough=no comment="Packet-in Admin via ISP1>ROS" add chain=postrouting action=mark-packet new-packet-mark=P:ISP1-ROS-Admin_out connection-mark=C:in-ISP1-Admin src-address-type=local \ passthrough=no comment="Packet-out Admin via ISP1>ROS" add chain=postrouting action=mark-packet new-packet-mark=P:ISP1-LAN-Admin_in connection-mark=C:in-ISP1-Admin dst-address-list=LAN \ passthrough=no comment="Packet-in Admin via ISP1>LAN" add chain=postrouting action=mark-packet new-packet-mark=P:ISP1-LAN-Admin_out connection-mark=C:in-ISP1-Admin src-address-type=local \ passthrough=no comment="Packet-out Admin via ISP1>LAN" add chain=input action=mark-packet new-packet-mark=P:ISP2-ROS-Admin_in connection-mark=C:in-ISP2-Admin dst-address-type=local \ passthrough=no comment="Packet-in Admin via ISP2>ROS" add chain=postrouting action=mark-packet new-packet-mark=P:ISP2-ROS-Admin_out connection-mark=C:in-ISP2-Admin src-address-type=local \ passthrough=no comment="Packet-out Admin via ISP2>ROS" add chain=postrouting action=mark-packet new-packet-mark=P:ISP2-LAN-Admin_in connection-mark=C:in-ISP2-Admin dst-address-list=LAN \ passthrough=no comment="Packet-in Admin via ISP2>LAN" add chain=postrouting action=mark-packet new-packet-mark=P:ISP2-LAN-Admin_out connection-mark=C:in-ISP2-Admin src-address-list=LAN \ passthrough=no comment="Packet-out Admin via ISP2>LAN" add chain=postrouting action=mark-packet new-packet-mark=P:LAN-WAN-WebSurf_out connection-mark=C:WebSurf src-address-list=LAN \ passthrough=no comment="Packet-out WebSurf LAN>WAN" add chain=postrouting action=mark-packet new-packet-mark=P:LAN-WAN-WebSurf_in connection-mark=C:WebSurf dst-address-list=LAN \ passthrough=no comment="Packet-in WebSurf LAN>WAN"
+1 for that!Please add the parameter "address-list" for the simple queue in ROS v6 ! it is not a dificult, but very usefull for many users
thanks ;p