Community discussions

MikroTik App
 
cadamuroa
just joined
Topic Author
Posts: 13
Joined: Thu Jun 12, 2014 5:55 am
Location: Brazil

Queue Tree Implementation

Tue Jun 09, 2015 6:23 am

Hi guys, how are you?

I'm here again. I would like to share my queue tree implementation, but I don't know if the implementation is correct. Can someone help me?

I have the following scenario:
Capturar.PNG
with this setup:

IP Firewall/Mangle
add action=mark-routing chain=prerouting dst-address=192.168.1.0/24 new-routing-mark="Route to router C" passthrough=no

add action=mark-connection chain=prerouting comment=IAX2 dst-port=4569 new-connection-mark=IAX2 protocol=udp
add action=mark-packet chain=prerouting connection-mark=IAX2 new-packet-mark=IAX2
add action=mark-routing chain=prerouting connection-mark=IAX2 new-routing-mark=EOIP_Tunnel passthrough=no src-address-list="Voip Network"

add action=mark-connection chain=prerouting comment="Other Connections" new-connection-mark=Other_Conn
add action=mark-packet chain=prerouting connection-mark=Other_Conn new-packet-mark=Other_Conn
add action=mark-routing chain=prerouting connection-mark=Other_Conn new-routing-mark=EOIP_Tunnel passthrough=no src-address-list=IPAddressList_RouterA&B

Ip/Route
add comment="Route to router C" distance=1 dst-address=192.168.1.0/24 gateway=10.10.4.2 routing-mark="Route to router C"
add comment="Route EOIP Tunnell" distance=1 gateway=10.10.7.1 routing-mark=EOIP_Tunnel

Queue Tree
add max-limit=4096k name="Queue Global" parent=global priority=1 queue=default
add limit-at=512k max-limit=512k name="Queue IAX2" packet-mark=IAX2 parent="Queue Global" priority=2 queue=default
add limit-at=3584k max-limit=3584k name="Queue Other Connection" packet-mark=Other_Conn parent="Queue Global" queue=default

Is it correct? My doubt is because I use the EOIP tunnel, then I need to mark the connection, mark the packet and send the data by the EOIP.

Best Regards,
Adraino
You do not have the required permissions to view the files attached to this post.