Hello
I need a “double” queue for each pppoe user.
One queue for the whole internet, the second for just one web page.
So I made the code below, but when I test the second queue for that specific webpage, it does not work ,the first queue remains active and users gets 1M/4M instead of 1M/8M.
Someone could help me?
P.S. I don’t want to use burst methods!
/ppp secret
#add pppoe user as usual
add name=user1 password=XXXXXXX profile=QUEUE1 service=pppoe
/ppp profile
add address-list=USERS_WITH_DOUBLE_QUEUE change-tcp-mss=yes insert-queue-before=bottom local-address=pool-users-with-double-queue name=QUEUE1 only-one=no parent-queue=none rate-limit=1M/4M remote-address=pool-users-with-double-queue use-compression=no use-encryption=yes use-mpls=no
/ip firewall mangle
#mark connections from users address list to wepage ip address 185.X.X.X
add action=mark-connection chain=prerouting dst-address=185.X.X.X new-connection-mark=webpage_cnn passthrough=yes src-address-list=USERS_WITH_DOUBLE_QUEUE
#mark packets coming from above connection mark
add action=mark-packet chain=prerouting connection-mark=webpage_cnn new-packet-mark=webpage_pck passthrough=yes src-address-list=USERS_WITH_DOUBLE_QUEUE
/queue simple
#add simple queue to the top of queues list, so it is above the autogenerated pppoe dynamic queues
add max-limit=1M/8M name=WEBPAGE_QUEUE packet-marks=webpage_pck target="" total-queue=default