You are on page 1of 32

o m

.i c
o b
o
Egypt MUM 2007. Dhaka MUM 2016 AS a Trainer

a h
s
Managing Director, Bijoy Online Ltd.
(Mikrotik listed 1st consultant of Bangladesh)
Web: www.bijoy.net/jahan/ 01819-231755, fb/akm.jahangir
1. Using distance

o m
c
2. Using bridge
3.
4.
Using vrrp
Using OSPF

b .i
1.
o o
Using mangle prerouting chain

h
2. Using mangle input-output chain

a
3. Using BGP

s
4. Using Bonding
o m
Situation: Two ISP has given me two IP, When

c
primary fails, secondary will be live auto.

b .i
IP > Route > add gateway with distance 1 and

o o
add another gateway with distance 2. lowest
distance will be primary

a h
s
m
ISP1 ISP2

Mikrotik Router

.i co
o b
Hub/ Switch

h o
LAN

s a
m
ISP1 4G SIM 4G SIM

.i c o
o b
h o
s a
RB953GS
o m
.i c
o b
h o
s a
o m
Situation: Point to Point/ Router to Router

.i c
Connected with two/multiple fiber or Radio, If
primary fails another will be live auto.

o b
o
Bridge has STP/RSTP protocal, STP/RSTP control

h
loop and work as failover. So No need any

a
configure other than bridge

s
Mikrotik Router-1

o m
.i c
b
Mikrotik Router-2

oo
h
Hub/ Switch

LAN

s a
o m
.i c
o b
h o
s a
o m
Situation: Client wants failover with Hub or

.i c
switch, There is no router at client end.

o b
ISP end required Mikrotik: LAN configure on

o
VRRP (logical Interface).

a h
Both end Router will contain Same(gateway) IP

s
o m
c
Mikrotik 1

.i
Mikrotik 2

o b
h o
s a
LAN
o m
.i c
o b
h o
s a
4. Using OSPF:

o m
c
Situation: Nationwide very large network with

b .i
Router and multiple link, OSPF used for internal
fail over and auto update of Routing table.

o o
add peering IP, add Network address with bit

h
from OSPF > Network, Then only in main router
you need to select: “if install as type2” from

s a
Routing > OSPF > Instance > “Redistribute
default route”
o m
c
Mikrotik 1

b .i LAN

o o
h
Mikrotik 3

a
Mikrotik 2

LAN

s LAN
o m
.i c
o b
h o
s a
o m
Situation: Two or more WAN from different ISP,

.i c
we want to merge all bandwidth including
failover. Some IPs of Will be marked for ISP1 and

b
Some Ips will be marked for ISP2

o
h o
s a
m
ISP1 ISP2

Mikrotik Router

.i co
o b
Hub/ Switch

h o
LAN

s a
o m
.i c
o b
h o
s a
o m
.i c
o b
h o
s a
5. Using mangle input-output chain:
o m
.i c
Situation: Two or more WAN from different ISP, we

b
want to merge all bandwidth including failover.

o o
Mark connection with input chain, then mark routing
for that connection which has marked.

a h
s
m
ISP1 ISP2

Mikrotik Router

.i co
o b
Hub/ Switch

h o
LAN

s a
o m
.i c
o b
h o
s a
o m
.i c
o b
h o
s a
o m
Situation: ISP is connected with multiple IIG, ISP has

.i c
own Real IP and ASN

and IP,

o b
a) add Peering IP, Routing > BGP > Instance > Self ASN

o
b) BGP > Peer > Other’s ASN and IP

h
c) BGP > Network: add /24 and aggregate like /23, /22

a
d) Routing Filter: Create filter for specify network

s
advertise.
m
IIG -1 IIG - 2

Mikrotik Router

.i co
o b
Hub/ Switch

h o
LAN

s a
o m
.i c
o b
h o
s a
o m
.i c
o b
h o
s a
o m
Situation: To increase capacity of link / ether
Used only for Router to Router
.i c
o b
Interface add bonding Slave = ether1, ether2,

o
Link Monitorin=ARP, remote IP=

a h
s
Mikrotik Router-1

o m
.i c
b
Mikrotik Router-2

oo
h
Hub/ Switch

LAN

s a
o m
.i c
o b
h o
s a
o m
.i c
o b
h o
s a
o m
.i c
o b
h o
s a
Managing Director, Bijoy Online Ltd.
(Mikrotik listed 1st consultant of Bangladesh)
Web: www.bijoy.net/jahan/ 01819-231755, fb/akm.jahangir

You might also like