Manual:Fast Path: Difference between revisions
Line 59: | Line 59: | ||
<tr> | <tr> | ||
<td ><b>All devices</b></td> | <td ><b>All devices</b></td> | ||
<td > | <td >Wireless interfaces, if wireless-fp or wireless-cm2 package used</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 67: | Line 67: | ||
<tr> | <tr> | ||
<td ></td> | <td ></td> | ||
<td > | <td >VLAN, VRRP interfaces (since 6.30)</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 75: | Line 75: | ||
<tr> | <tr> | ||
<td ></td> | <td ></td> | ||
<td > | <td >EoIP, GRE, IPIP interfaces (since 6.33); L2TP, PPPoE interfaces (since 6.35). EoIP, GRE, IPIP interfaces have per interface setting "allow-fast-path". Allowing FastPath on EoIP, GRE, IPIP interfaces have side effect of bypassing firewall, connection tracking, simple queues, queue tree with parent=global, IP accounting, IPsec, hotspot universal client, VRF assignment for encapsulated packets that go trough fastpath. Note that allowing FastPath for tunnel does not guarantee that all packets will go FastPath, so for SlowPath packets regular processing happens as before</td> | ||
</tr> | </tr> | ||
</table> | </table> |
Revision as of 13:57, 18 September 2018
Applies to RouterOS: v6.0rc2 +
Summary
Fast path allows to forward packets without additional processing in the Linux kernel. It improves forwarding speeds significantly.
For fast path to work, interface support and specific configuration conditions are required.
List of devices with FastPath support
FastPath support on the specific devices.
RouterBoard | Interfaces |
---|---|
RB6xx series | ether1,2 |
Most of the RB7xx series | all ports |
RB800 | ether1,2 |
RB9xx series | all ports |
RB1000 | all ports |
RB1100 series | ether1-11 |
RB2011 series | all ports |
RB3011 series | all ports |
CRS series routers | all ports |
CCR series routers | all ports |
All devices | Wireless interfaces, if wireless-fp or wireless-cm2 package used |
bridge interfaces (since 6.29) | |
VLAN, VRRP interfaces (since 6.30) | |
bonding interfaces - rx only (since 6.30) | |
EoIP, GRE, IPIP interfaces (since 6.33); L2TP, PPPoE interfaces (since 6.35). EoIP, GRE, IPIP interfaces have per interface setting "allow-fast-path". Allowing FastPath on EoIP, GRE, IPIP interfaces have side effect of bypassing firewall, connection tracking, simple queues, queue tree with parent=global, IP accounting, IPsec, hotspot universal client, VRF assignment for encapsulated packets that go trough fastpath. Note that allowing FastPath for tunnel does not guarantee that all packets will go FastPath, so for SlowPath packets regular processing happens as before |
FastPath Handlers
Currently RouterOS has following fast path handlers:
- ipv4
- ipv4 fasttrack
- traffic generator
- mpls
- bridge
Note: Packet can be forwarded by fast path handler only if at least source interface support fast path. For complete fast path forwarding destination interface support is also required. See the list of supported interfaces.
IPv4 handler
IPv4 fast path is automatically used if following conditions are met:
- firewal rules are not configured;
- firewall address lists are not configured;
Traffic flow is disabledrestriction removed in 6.33;/ip traffic-flow enabled=no
- Simple and queue trees with parent=global are not configured;
- no mesh, metarouter interface configuration;
- sniffer, torch and traffic generator is not running;
- connection tracking is not active;
- ip accounting is disabled (/ip accounting enabled=no);
- VRFs are not set (/ip route vrf is empty);
- Hotspot is not used (/ip hostspot has no interfaces);
- IpSec policies are not configured (ROS v6.8);
no active mac-ping, mac-telnet or mac-winbox sessionsrestriction removed in 6.33;- /tool mac-scan is not actively used;
- /tool ip-scan is not actively used;
- route cache must be enabled
/ip firewall connection tracking set enabled
parameter has new auto value Which means that connection tracking is disabled by default until firewall rules are added.
IPv4 FastTrack handler
FastTrack is available on the devices with FastPath support. FastTrack is FastPath+Connection Tracking. Detailed information about the FastTrack.
Traffic Generator handler
Traffic Generator fast path is automatically used for interfaces that support this feature.
MPLS handler
MPLS fast path is automatically used for interfaces that support this feature.
Currently MPLS fast-path applies only to MPLS switched traffic (frames that enter router as MPLS and must leave router as MPLS) - MPLS ingress and egress (including VPLS tunnel endpoints that do VPLS encap/decap) will operate as before.
Bridge handler
Bridge fast path is automatically used if following conditions are met:
- bridge VLAN filtering is disabled,
- no bridge firewall rules (
/interface bridge filter, /interface bridge nat
) are configured, /interface bridge settings use-ip-firwall=no
,- no mesh, metarouter interface configuration,
- sniffer, torch and traffic generator is not running,
Note: Currently PPP interfaces does not support FastPath
[ Top | Back to Content ]