Professional Documents
Culture Documents
Achmad Mardiansyah
achmad@glcnetworks.com
GLC Networks, Indonesia
www.glcnetworks.com
Agenda
● Introduction
● The basics: connection and routing
● Load Balancing (LB) techniques (PCC)
● Some issues and recommendations
● Q&A
2
www.glcnetworks.com
What is GLC?
3
www.glcnetworks.com
Trainer Introduction
4
www.glcnetworks.com
About Telkom University
5
www.glcnetworks.com
Mikrotik academy @ TEL-U
● Started in 2013
● Embedded into schools curricula
● 100% hands-on
● Get MTCNA certification
6
www.glcnetworks.com
The basics: Connection and Routing
7
www.glcnetworks.com
Why should i care?
8
www.glcnetworks.com
Are those webpages really works on you?
9
www.glcnetworks.com
What is (traffic) load balancing? webserver
● Increase utilisation of
upstream links ether5 ether6
LAN
10
www.glcnetworks.com
What is connection? webserver
ether5 ether6
LAN
11
www.glcnetworks.com
Single connection to a website
ISP1 ISP2
ether5 ether6
LAN
12
www.glcnetworks.com
Connect
ion 1
Connect
ion 3
Website with multiple objects
Connect
ion 2
ISP1 ISP2
ether5 ether6
LAN
13
www.glcnetworks.com
Routing and Forwarding
ether5 ether6
LAN
14
www.glcnetworks.com
Adjust routing (mangle: mark-routing)
ether5 ether6
LAN
15
www.glcnetworks.com
Forward traffic via ISP2 using mangle
16
www.glcnetworks.com
Forward traffic via ISP1 using mangle
17
www.glcnetworks.com
Load Balancing techniques
18
www.glcnetworks.com
Load balancing techniques
ECMP YES NO
PCC YES NO
Bonding NO YES
OSPF YES NO
BGP YES NO
19
www.glcnetworks.com
Connect
ion 1
Connect
ion 3
How PCC works?
LAN
20
www.glcnetworks.com
Applying PCC
21
www.glcnetworks.com
Lets play with PCC classifier...
22
www.glcnetworks.com
Connect
ion 1
Connect
ion 2
ISP1 ISP2
ether5 ether6
LAN
23
www.glcnetworks.com
Some issues & recommendations
24
www.glcnetworks.com
Some issues & recommendations
Issues:
Recommendations
● If you use NAT, Better to use classifier based on source IP address only ->
will give client consistent path to the destination
● Avoid NAT if possible -> using public IP address end-to-end -> use BGP ->
better performance
25
www.glcnetworks.com
QA
26
www.glcnetworks.com
Some info
27
www.glcnetworks.com
End of slides
28
www.glcnetworks.com