Community discussions

MikroTik App
 
sojicmk
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 52
Joined: Fri May 04, 2007 4:32 pm

Simple queue do not work

Tue Jul 24, 2007 1:27 pm

The user with IP xx.xx.xx.184 should be limited to download with 512 but he download with about 1678

Image
/ queue simple
add name="184" target-addresses=xx.xx.xx.184/32 dst-address=0.0.0.0/0 interface=all \
    parent=none packet-marks=internet direction=both priority=8 \
    queue=default-small/default-small limit-at=512000/512000 max-limit=512000/512000 \
    total-queue=default-small disabled=no 

/ ip firewall mangle 
add chain=prerouting p2p=all-p2p dst-address-list=!Lokalni action=mark-connection \
    new-connection-mark=p2p_conn passthrough=yes comment="" disabled=no 
add chain=prerouting connection-mark=p2p_conn action=mark-packet new-packet-mark=p2p \
    passthrough=no comment="" disabled=no 
add chain=prerouting dst-address-list=!Lokalni action=mark-connection \
    new-connection-mark=internet_con passthrough=yes comment="" disabled=no 
add chain=prerouting connection-mark=internet_con action=mark-packet \
    new-packet-mark=internet passthrough=no comment="" disabled=no 
 
User avatar
cholegm
Frequent Visitor
Frequent Visitor
Posts: 57
Joined: Thu Jul 19, 2007 7:43 pm
Location: Gornji Milanovac, Serbia
Contact:

Re: Simple queue do not work

Tue Jul 24, 2007 1:36 pm

Try this!
Problem can be in queue-tx=user-rx queue-rx=user-tx :/
/ queue simple
add name="184-tx" target-addresses=xx.xx.xx.184/32 dst-address=0.0.0.0/0 interface=all \
    parent=none packet-marks=internet direction=both priority=8 \
    queue=default-small/default-small limit-at=512000/512000 max-limit=512000/512000 \
    total-queue=default-small disabled=no 
add name="184-rx" target-addresses=0.0.0.0/0 dst-address=xx.xx.xx.184/32 interface=all \
    parent=none packet-marks=internet direction=both priority=8 \
    queue=default-small/default-small limit-at=512000/512000 max-limit=512000/512000 \
    total-queue=default-small disabled=no

Who is online

Users browsing this forum: gianry, yonutm and 34 guests