![Page 1: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/1.jpg)
Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st consultant of Bangladesh)Web: www.bijoy.net/jahan/ 01819-231755, fb/akm.jahangir
Egypt MUM 2007. Dhaka MUM 2016 AS a Trainer
![Page 2: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/2.jpg)
1. Using distance2. Using bridge3. Using vrrp 4. Using OSPF
1. Using mangle prerouting chain2. Using mangle input-output chain3. Using BGP4. Using Bonding
![Page 3: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/3.jpg)
Situation: Two ISP has given me two IP, When primary fails, secondary will be live auto.
IP > Route > add gateway with distance 1 and add another gateway with distance 2. lowest distance will be primary
![Page 4: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/4.jpg)
ISP1 ISP2
Mikrotik Router
Hub/ Switch
LAN
![Page 5: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/5.jpg)
ISP1 4G SIM 4G SIM
RB953GS
![Page 6: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/6.jpg)
![Page 7: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/7.jpg)
Situation: Point to Point/ Router to Router Connected with two/multiple fiber or Radio, If primary fails another will be live auto.
Bridge has STP/RSTP protocal, STP/RSTP control loop and work as failover. So No need any configure other than bridge
![Page 8: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/8.jpg)
Mikrotik Router-2
Hub/ Switch
LAN
Mikrotik Router-1
![Page 9: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/9.jpg)
![Page 10: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/10.jpg)
Situation: Client wants failover with Hub or switch, There is no router at client end.
ISP end required Mikrotik: LAN configure on VRRP (logical Interface).
Both end Router will contain Same(gateway) IP
![Page 11: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/11.jpg)
Mikrotik 1
LAN
Mikrotik 2
![Page 12: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/12.jpg)
![Page 13: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/13.jpg)
4. Using OSPF:
Situation: Nationwide very large network with Router and multiple link, OSPF used for internal fail over and auto update of Routing table.
add peering IP, add Network address with bit from OSPF > Network, Then only in main router you need to select: “if install as type2” from Routing > OSPF > Instance > “Redistribute default route”
![Page 14: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/14.jpg)
Mikrotik 1
LANLAN
LAN
Mikrotik 2Mikrotik 3
![Page 15: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/15.jpg)
![Page 16: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/16.jpg)
Situation: Two or more WAN from different ISP, we want to merge all bandwidth including failover. Some IPs of Will be marked for ISP1 and Some Ips will be marked for ISP2
![Page 17: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/17.jpg)
ISP1 ISP2
Mikrotik Router
Hub/ Switch
LAN
![Page 18: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/18.jpg)
![Page 19: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/19.jpg)
![Page 20: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/20.jpg)
5. Using mangle input-output chain:
Situation: Two or more WAN from different ISP, we want to merge all bandwidth including failover.
Mark connection with input chain, then mark routing for that connection which has marked.
![Page 21: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/21.jpg)
ISP1 ISP2
Mikrotik Router
Hub/ Switch
LAN
![Page 22: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/22.jpg)
![Page 23: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/23.jpg)
![Page 24: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/24.jpg)
Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN
a) add Peering IP, Routing > BGP > Instance > Self ASN and IP,
b) BGP > Peer > Other’s ASN and IP
c) BGP > Network: add /24 and aggregate like /23, /22
d) Routing Filter: Create filter for specify network advertise.
![Page 25: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/25.jpg)
IIG -1 IIG - 2
Mikrotik Router
Hub/ Switch
LAN
![Page 26: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/26.jpg)
![Page 27: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/27.jpg)
![Page 28: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/28.jpg)
Situation: To increase capacity of link / ether
Used only for Router to Router
Interface add bonding Slave = ether1, ether2, Link Monitorin=ARP, remote IP=
![Page 29: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/29.jpg)
Mikrotik Router-2
Hub/ Switch
LAN
Mikrotik Router-1
![Page 30: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/30.jpg)
![Page 31: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/31.jpg)
![Page 32: Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st ... · Situation: ISP is connected with multiple IIG, ISP has own Real IP and ASN a) add Peering IP, Routing > BGP > Instance](https://reader034.vdocuments.us/reader034/viewer/2022042917/5f5867f2b4a43e61b23be0ad/html5/thumbnails/32.jpg)
Managing Director, Bijoy Online Ltd. (Mikrotik listed 1st consultant of Bangladesh)Web: www.bijoy.net/jahan/ 01819-231755, fb/akm.jahangir