Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label...
Transcript of Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label...
![Page 1: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/1.jpg)
INTRODUCTION TO MPLS USING ROUTEROS
MIKROTIK USER MEETING JAKARTA
2016
1
![Page 2: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/2.jpg)
INTRODUCTION• Irvan Adrian Kristiono •CV Central Network
•Sytem Integrator & Trainer
•Grahamedia.Net • Internet Service Provider
•At Salatiga, Jawa Tengah, Indonesia
•MTCNA(2010),MTCRE(2011),
MTCINE(2014)
2
![Page 3: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/3.jpg)
MPLS
3
![Page 4: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/4.jpg)
http://blog.bashy.eu/wp-content/uploads/2015/09/MPLS_EN.png 4
![Page 5: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/5.jpg)
LAYER 2.5 ?
5
![Page 6: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/6.jpg)
L2MTU •MTU (Maximum Transmit Unit) is maximum amount packet data can be transmit over interface after header layer 3 •L2MTU (Layer 2 MTU) is maximum amount frame can be transmit over interface after header layer 2 •Full Frame is amount of all frame with Ethernet Header
6
![Page 7: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/7.jpg)
L2MTULayer 2 Maximum Transmission Unit VPLS – MPLS
L2MTU: 1526
7
![Page 8: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/8.jpg)
L2MTU
8
![Page 9: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/9.jpg)
WHAT IS VPLS ?
9
![Page 10: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/10.jpg)
VPLS •Virtual Private LAN Service •VPN Service of MPLS Protocol •Support VPN Tunnel : • Point to Point
• Multipoint
10
![Page 11: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/11.jpg)
VPLS VS CURRENT VPN
11
![Page 12: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/12.jpg)
SMALLER OVERHEAD = MORE BANDWIDTHCURRENT VPN
◦ Bigger Overhead EoIP tunnel add 42 bytes overhead (8 bytes GRE+14 bytes Ethernet +20 bytes IP) source from : (http://wiki.mikrotik.com/wiki/Manual:Interface/EoIP) Around 30 % space Ethernet Frame
VPLS
◦ VPLS tunnel add 22 bytes overhead (2 x Labels @4 Bytes + 14 Bytes Ethernet)
◦ Around 15 % space Ethernet Frame
12
DATA EOIP DATA VPLS
![Page 13: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/13.jpg)
L2VPN WITHOUT REDUCE DATA SPACENO NEED TO SHRINK OR FRAGMENT DATA CURRENT VPN
Current VPN using Packet Data for VPN Header, reduce Data space availiable
VPLS
While VPLS utilize L2MTU, space between Layer 2 and Layer 3, save space of DataL2MTU
13
L2MTU
![Page 14: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/14.jpg)
MORE SCALABLE WITH MULTIPOINT VPN CURRENT VPN
14
VPLS
![Page 15: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/15.jpg)
PERFORMANCE TESTING ON ROUTERBOARD
http://mum.mikrotik.com/presentations/CZ09/MPLS.pdf 15
![Page 16: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/16.jpg)
HOW TO MAKE MPLS ?
16
![Page 17: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/17.jpg)
MPLS LABEL•MPLS still need L3 Routing Protocol for propagate information routing for every members MPLS Network to propagate label information •Routing Protocol which can be use are : • OSPF, IGRP, EIGRP, IS-IS, RIP
•Label Exchange Protocol which can be use are : • LDP, TDP, BGP(VPN), RSVP(MPLS-TE),CR-LDP
17
![Page 18: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/18.jpg)
MPLS LDP•MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : • IP connectivity – properly configured IP routing (static, OSPF, RIP) between all Router
• “loopback” IP address that isn’t attached to any real network interface
•Homogeneous MPLS cloud – all router inside MPLS Cloud must MPLS enable
18
![Page 19: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/19.jpg)
SIMULATION
19
![Page 20: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/20.jpg)
NETWORK DIAGRAM
20
![Page 21: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/21.jpg)
TABLE IP ADDRESSINTERFACE
21
![Page 22: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/22.jpg)
SETUP IP LOOPBACK ADDRESS AND OSPF•Add Interface Bridge as a Loopback Interface. • Give IP Loopback at Bridge Loopback
• Enable OSPF : • Area : Backbone
• Advertise local network
• Advertise network point-to-point
• Advertise IP loopback
22
![Page 23: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/23.jpg)
Create Bridge Loopback
23
R1 = 172.16.1.1 R2 = 172.16.1.2 R3 = 172.16.1.3
![Page 24: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/24.jpg)
Configure OSPF
24
R1 = 172.16.1.1 R2 = 172.16.1.2 R3 = 172.16.1.3
![Page 25: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/25.jpg)
CHECK OSPF RUNNING ?
25
![Page 26: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/26.jpg)
SETUPMPLS LABEL EXCHANGE PROTOCOL (LDP)•Enable LDP •Setup LSR-ID and Transport-Address with ip loopback. •Add to list of LDP-Interface, All Interfaces connected to other router
26
![Page 27: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/27.jpg)
LDP SETTING
27
R1 = 172.16.1.1 R2 = 172.16.1.2 R3 = 172.16.1.3
![Page 28: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/28.jpg)
CHECK MPLS RUNNING ?
28
![Page 29: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/29.jpg)
TRACEROUTE TEST MPLS
29
![Page 30: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/30.jpg)
VPLS L2VPNMULTIPOINT
30
![Page 31: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/31.jpg)
iBGP VPLS CONFIG•Choose R1 as Router Reflector •Configure every router running BGP instance and configure all router peer to Route Reflector. •Configure at Peer to use L2VPN dan Loopback •Configure RD, RT (Import & Export) according as diagram
31
![Page 32: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/32.jpg)
R1 ROUTERCONFIG iBGP ROUTING
32
![Page 33: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/33.jpg)
BGP SETUPROUTER R2 R3
33
R2
![Page 34: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/34.jpg)
CHECK BGP PEER RUNNING ?
34
![Page 35: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/35.jpg)
SETUP BRIDGE ETHER1 @BRIDGE-VPLS
35
![Page 36: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/36.jpg)
BGP VPLS SETUPR1
36
R2 = 2 R3 = 3
![Page 37: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/37.jpg)
DYNAMIC VPLS INTERFACE
37
![Page 38: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/38.jpg)
TEST PING :PC1 – PC2 – PC3
38
![Page 39: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/39.jpg)
VPLS L2VPN MULTIPOINTSUCCESS !!
39
![Page 40: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/40.jpg)
ANY QUESTION ?
40
![Page 41: Introduction MPLS 1 - MikroTik · MPLS LDP •MPLS Labels are assigned and distributed by the Label Distribution Protocol (LDP) •LDP requirements : •IP connectivity – properly](https://reader030.fdocuments.in/reader030/viewer/2022040514/5e6df1e30b72bc316500e281/html5/thumbnails/41.jpg)
FINISH THANK YOU
IRVAN ADRIAN KRISTIONO
41