Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link...
Transcript of Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link...
![Page 1: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/1.jpg)
Aggregate Load Balance with BGP and MPLS
MUM ID 2018 | 19 – 20 Oktober 2018
Yogyakarta, Indonesia
![Page 2: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/2.jpg)
Firdhyan Adhie Lesmana Adhielesmana.com LapakWifi.com DNS Premium
( www.facebook.com/dnspremium ) Forum MikroTik Indonesia
ISP Operations Manager PowerNet Liberia, West Africa.
MikroTik Certified Trainer & Consultant PowerNet Training Center, Liberia
Facebook: www.facebook.com/adhielesmana
Whatsapp : +6289660206541 ( ID ) / +231777306097 ( LR )
2
![Page 3: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/3.jpg)
Aggregating traffic for two or more backbone link.
Increase Total Backbone capacity.
Traffic Aggregate Solution
Not “Internet” Load Balance
3
![Page 4: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/4.jpg)
4
5 KM LINK 1 VIA PTP WIRELESS 1
5 KM LINK 2 VIA PTP WIRELESS 2
EDGE CORE OFFICE NOC DISTRIBUTION
BGP + FILTER
FIREWALL STICKY CONN
BG
P +
FIL
TE
R
FIR
EW
AL
L S
TIC
KY
CO
NN
![Page 5: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/5.jpg)
LINK 1 VIA ISP RED
LINK 2 VIA ISP BLUE
TUN-VPN + MPLS-VPLS
CORE
JAKARTA
REMOTE
SUBNET DISTRIBUTION
TUN-VPN + MPLS-VPLS
BGP + FILTER
FIREWALL STICKY CONN
BG
P +
FIL
TE
R
FIR
EW
AL
L S
TIC
KY
CO
NN
![Page 6: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/6.jpg)
6
BRIDGE
VPLS + ETHER
BRIDGE
VPLS + ETHER
BGP + FILTER
FIREWALL STICKY CONN
![Page 7: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/7.jpg)
Cost Efficient
Support Redundancy / Failover
Load Sharing / Aggregate Traffic
Easy Maintenance & Troubleshoot
MPLS is faster than EoIP, Less CPU and Less protocol overhead
7
![Page 8: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/8.jpg)
MikroTik Router ( Both Locations )
Support MPLS, VPN, BGP, OSPF etc.
Backbone Link
Wireless Backbone
Fiber Broadband ( Tunnel )
8
![Page 9: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/9.jpg)
1. Prepare Link
Make sure link established and traffic can passed.
We can use Wireless Backbone or Tunnel via Fiber Broadband
2. Create VPLS
MPLS - VPLS on each router
Bridge with Ethernet *
3. Setup BGP
Setup IP for VPLS interface
Create BGP peering in VPLS
Additional Route Filter Rules.
4. Firewall & Mark Routing
Rule for Sticky Connections.
9
![Page 10: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/10.jpg)
Mode AP AP Bridge or Bridge
ap + wds if station using wds
Bridged with Ethernet
Mode StationStation Bridge or Station WDS
Bridged with Ethernet
10
![Page 11: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/11.jpg)
Server PPTP / L2TP Setup PPP Profile and Secret for Client PPP User Password Use PTP Addressing /32 instead of IP Pool.
Client PPTP / L2TP Dial VPN Tunnel Check IP Test Connection, Ping to neighbor PTP IP address
11
![Page 12: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/12.jpg)
Create VPLS links between point to point router.
Follow this information about VPLShttps://wiki.mikrotik.com/wiki/Manual:MPLSVPLS
Require OSPF
Require Loopback IP and Interfaces
Join to MTCINE Training to learn BGP and MPLS Topic
12
![Page 13: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/13.jpg)
Create Interface Bridge ( For Topology 3 )
add VPLS and Ethernet on Bridge.
For topology 1 and 2 we don’t need bridge
13
![Page 14: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/14.jpg)
Once the link is established and both router is reacheable.
Create BGP peering between both locations and each link.
Create new Routing Filter with custom action parameter.
Assign the routing filter on BGP Instance
14
![Page 15: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/15.jpg)
Make Incoming BGP
Route Filter.
Make ICMP to Each
Opposite routers IP
Apply Route filter on
Core and Remote Router
15
![Page 16: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/16.jpg)
Assign the Route filter to BGP Peers configuration
Establishing the BGP Peers
16
![Page 17: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/17.jpg)
Routing Result from BGP + Routing Filter
Result on Remote Router
17
![Page 18: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/18.jpg)
Result on Core Router
18
![Page 19: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/19.jpg)
Add new firewall mangle and mark route all incoming traffic from each WAN interfaces.
Create new routing mark for each Gateway following the routing mark from ip firewall mangle.
Do this on both end.
19
![Page 20: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/20.jpg)
20
![Page 21: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/21.jpg)
21
![Page 22: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/22.jpg)
22
![Page 23: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/23.jpg)
Result on Remote Router
Load Balance Aggregated Traffic.
No NAT Packet go and comes with origin IP addresses
No src-address changes even when the routing path changes
Normally in load-balance our src-address always changes
23
![Page 24: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/24.jpg)
Result on MAIN CORE Router
24
![Page 25: Aggregate Load Balance with BGP and MPLS 20 Oktober 2018 · 1. Prepare Link Make sure link established and traffic can passed. We can use Wireless Backbone or Tunnel via Fiber Broadband](https://reader033.fdocuments.in/reader033/viewer/2022042007/5e706ba4429194379c11001b/html5/thumbnails/25.jpg)
Q & A
Thanks To MikroTik
ClickMediaNet - Blora
25