Community discussions

MikroTik App
 
jonathan2493
newbie
Topic Author
Posts: 25
Joined: Fri Feb 13, 2015 4:25 am

FastTrack and Mangling

Mon Nov 09, 2015 12:32 pm

hi,

Does Fasttrack affect marking of Packets done by mangling?

Im using mangle to mark these type of traffic:
1. valid work traffic(to company servers and the return traffic) - Unrestricted
2. Downloads - 5Mb
3. Uploads - 5Mb

I am using a queue tree to setup traffic limiting on the routerboard.
I noticed that if fasttrack is disabled I actually limit the download and upload to 5Mb, once i enable fasttrack the traffic exceeds the limit that ive placed.

So does fasttrack skips the mangling by fasttracking the packets?
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Wed Nov 11, 2015 6:46 pm

Packets belonging to fasttracked connection go around the firewall so nothing is applied by firewall to them. Queues including.
 
jonathan2493
newbie
Topic Author
Posts: 25
Joined: Fri Feb 13, 2015 4:25 am

Re:

Tue Nov 17, 2015 8:41 am

Packets belonging to fasttracked connection go around the firewall so nothing is applied by firewall to them. Queues including.

any suggestions/workarounds regarding mangling and queues?
 
User avatar
MTeeker
Frequent Visitor
Frequent Visitor
Posts: 96
Joined: Tue Jun 14, 2011 2:42 pm
Location: Australia

Re: Re:

Tue Nov 17, 2015 10:39 am

Sorry I can't offer an answer to your query as I can't figure it out for my similar requirement.

I abandoned Fasttrack (for the time being) due to required QoS for my VoIP. I think the concept of Fasttrack is fine by itself. And MikroTik's effort is to be commended.

However, traffic on a freeway at times (borrowing a metaphor) does slow down for one reason or another. Hence the need for QoS (when required).

From my memory, Jarda made a point about the ability to apply Fasttrack for a specific requirement or area rather than an overarching application as originally introduced.

And I am not sure of its latest status.
Cheers
 
User avatar
macgaiver
Forum Guru
Forum Guru
Posts: 1764
Joined: Wed May 18, 2005 5:57 pm
Location: Sol III, Sol system, Sector 001, Alpha Quadrant

Re: FastTrack and Mangling

Tue Nov 17, 2015 11:27 am

Why do you look at fasttrack as global feature for all the traffic - it is not.

Fasttrack-connection is essentially exactly the same as mark-connection/packet.

With one you mark specific connections for queues.
With other you mark specific traffic for fast bypass.

i use fasttrack for all client communication to internal servers, and use queues for client Internet connections at the same time.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: FastTrack and Mangling

Wed Nov 18, 2015 2:26 pm

Sometimes I am returning to fasttrack back to try to utilize it. But until I am under the performance limit of the routers, there is no reason to use fasttrack so much. I have some very selective rules in firewall prepaired for switching the fasttrack on for some kind of traffic (typically local traffic and torrents), but I still have them off. Anyway, I appreciate this option because I see it very useful. At least like a toy for me so far.
 
se232
newbie
Posts: 49
Joined: Fri Sep 18, 2015 7:34 pm

Re: FastTrack and Mangling

Tue Aug 29, 2017 11:25 am

Hello, I have a problem with fasttrack and mange rules.

I have a mangle rule to mark all packets (mark routing) from selected IP sources to route it differently (ip route to 0.0.0.0/0 with routing mark set shall go to a different router)
Whenever I switch on fasttrack, it seems either the special route or the mangling stops working

lg

Stefan
 
User avatar
strods
MikroTik Support
MikroTik Support
Posts: 1624
Joined: Wed Jul 16, 2014 7:22 am
Location: Riga, Latvia

Re: FastTrack and Mangling

Tue Aug 29, 2017 12:24 pm

That is the whole point of FastTrack:
https://wiki.mikrotik.com/wiki/Manual:IP/Fasttrack

"Fasttracked packets bypass firewall, connection tracking, simple queues, queue tree with parent=global, ip traffic-flow(restriction removed in 6.33), IP accounting, IPSec, hotspot universal client, VRF assignment, so it is up to administrator to make sure fasttrack does not interfere with other configuration;"
 
se232
newbie
Posts: 49
Joined: Fri Sep 18, 2015 7:34 pm

Re: FastTrack and Mangling

Tue Aug 29, 2017 12:34 pm

Somehow I don't get it completely....

Referenced page says:
IPv4 FastTrack is active if following conditions are met:

* no mesh, metarouter interface configuration;
* sniffer, torch and traffic generator is not running;
* ****removed****no active mac-ping, mac-telnet or mac-winbox sessions****removed**** restriction removed in 6.33;
* /tool mac-scan is not actively used;
* /tool ip-scan is not actively used;

So fasttrack should be active, but why are the mangle rules affected?

How I understand the fasttrack is, that a new TCP (or UDP) connection runs through the firewall, but then the established connection bypasses the firewall. This gains performance.
My mangle rule should establish a connection to the different router, then when established everything could run through fasttrack (bypass the firewall).

Problem is only that it does not work. everything works fine, when the fasttrack rule is disabled, When I reenable it the packets go to the default router
 
User avatar
strods
MikroTik Support
MikroTik Support
Posts: 1624
Joined: Wed Jul 16, 2014 7:22 am
Location: Riga, Latvia

Re: FastTrack and Mangling

Tue Aug 29, 2017 3:48 pm

Routing marks are not applied to packets when FastTrack is being used so the policy based routing can not work in such configuration.
 
se232
newbie
Posts: 49
Joined: Fri Sep 18, 2015 7:34 pm

Re: FastTrack and Mangling

Wed Aug 30, 2017 7:56 am

How is it with updating the documentation? Would avoid others to fall into the same trap
 
User avatar
strods
MikroTik Support
MikroTik Support
Posts: 1624
Joined: Wed Jul 16, 2014 7:22 am
Location: Riga, Latvia

Re: FastTrack and Mangling

Wed Aug 30, 2017 9:15 am

This is already documented. I did reference wiki page few posts ago:
viewtopic.php?f=2&t=102031&sid=7f25ec36 ... c3#p615768

Who is online

Users browsing this forum: gdanov, jcjc81, K0NCTANT1N and 115 guests