Community discussions

MikroTik App
 
advantz
Member Candidate
Member Candidate
Topic Author
Posts: 187
Joined: Thu Jul 08, 2004 4:11 am

[req] feature regarding simple queues

Sun Jan 01, 2006 2:36 pm

I need feature of simple queues that allow using /ip firewall address list as destination address

thanks guys
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Sun Jan 01, 2006 9:09 pm

- Create address-list with desired addresses.
- Configure suitable connection/packet marks for traffic and set 'dst-address-list' parameter.
- Use 'packet-mark' option in simple queues to realize your request.
 
advantz
Member Candidate
Member Candidate
Topic Author
Posts: 187
Joined: Thu Jul 08, 2004 4:11 am

Mon Jan 02, 2006 7:21 am

do you mean mangle - packet mark with passthrough?
hmm that will work, but my request will be easier to manage simple queues :P

btw thanks, i will try this
and what chain to use? prerouting?

I already try this, but didn't work, only rx traffic shown in queue simple
/ ip firewall mangle 
add chain=prerouting dst-address-list=neighbours action=mark-packet new-packet-mark=NEIGHBOURS-UP comment="Mark Neighbours \
    upstream" disabled=no 
add chain=prerouting dst-address-list=neighbours action=passthrough comment="" disabled=no 
add chain=prerouting src-address-list=neighbours action=mark-packet new-packet-mark=NEIGHBOURS-DN comment="Mark Neighbours \
    downstream" disabled=no 
add chain=prerouting src-address-list=neighbours action=passthrough comment="" disabled=no 

/queue simple
add name="NEIGHBOURS" target-addresses=192.168.0.224/29 dst-address=0.0.0.0/0 interface=all \
    parent=none packet-marks=NEIGHBOURS-UP,NEIGHBOURS-DN priority=1 queue=default/default limit-at=0/0 \
    max-limit=1000000/1000000 total-queue=default disabled=no 

/ip firewall address-list
add list=neighbours address=66.xx.222.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.227.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.228.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.234.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.235.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.238.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.239.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.240.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.244.0/24 comment="" disabled=no 
add list=neighbours address=66.xx.248.0/24 comment="" disabled=no 

Who is online

Users browsing this forum: No registered users and 175 guests