You are on page 1of 1

Traffic Flow diagram for RouterOS v6.

xx
HotSpot Connection Mangle Configurable Facilities
Prerouting DST-NAT /ip firewall
In Tracking Prerouting
Filter Filter Filter Mangle Mangle
filter Input Forward Output Output Postrouting
Mangle Filter HTB Global Simple
Input
Input Input Queue tree Queues nat DST-NAT SRC-NAT

Mangle Mangle Mangle Mangle Mangle


Bridge Mangle Filter mangle Prerouting Input Forward Output Postrouting
Forward TTL=TTL-1 Accounting
Decision Forward Forward Connection
connection tracking Tracking

Bridge Connection Mangle Filter Routing /queue


Output
Decision Tracking Output Output Adjustm.
Simple
simple Queues
Mangle HotSpot HTB Global Simple
Postrouting SRC-NAT tree
HTB Global
Postrouting Out Queue tree Queues Queue tree

ROUTER LOCAL
Router
M Local Input
processes
Local Output N

no ROUTING
yes yes
Decapsulation
is needed? J K It's IP Traffic?
Network Layer

no
no
IPSec Routing IPSec
Policy Input
Decision Encryption

OUTPUT
INPUT

yes yes
IPSec Routing IPSec
Output Policy
Decryption Decision
no no
yes
It's IP Traffic? I Prerouting Forward Postrouting L
IP v4/v6 IP v4/v6 IP v4/v6 IP v4/v6
Header DATA FORWARD Header DATA

MPLS MPLS MPLS MPLS


Header DATA Header DATA
MPLS
MPLS (Layer 2.5)

yes
VPLS or TE MPLS MPLS header
F G
(TE, VPLS, VLAN, Tunnel)

(TE, VPLS, VLAN, Tunnel)


tunnel Decision needed?
Decapsulation

Encapsulation
OUTPUT no
INPUT

POP Label MPLS Switch Label PUSH Label


(MPLS Output) Decision (MPLS Forward) (MPLS Output)
no
yes
MPLS header
present? E H
MPLS MPLS MPLS MPLS
Header DATA FORWARD Header DATA

Ethernet Ethernet Ethernet Ethernet


Header DATA Header DATA
BRIDGING
Layer - 3

Prerouting Forward Postrouting yes


Is Out-Interface
B С bridged?
yes yes yes
no
Data Link Layer

Use IP no Use IP no Use IP no


Firewall Firewall Firewall
OUTPUT
INPUT

Bridge Bridge Bridge Bridge


Input Decision SRC-NAT Decision
no
yes
Is In-Interface Bridge Bridge Bridge
bridge port? A DST-NAT Forward Output D
FORWARD
no
Encapsulation
is needed?
yes
HTB Interface HTB Interface

IN-INTERFACE OUT-INTERFACE
LOGICAL IN-INTERFACE OUT-INTERFACE LOGICAL
OUT
IN

PHYSICAL PHYSICAL
Physical Layer

You might also like