introduction mpls 1 - mikrotik · mpls ldp •mpls labels are assigned and distributed by the label...

41
INTRODUCTION TO MPLS USING ROUTEROS MIKROTIK USER MEETING JAKARTA 2016 1

Upload: others

Post on 13-Mar-2020

17 views

Category:

Documents


0 download

TRANSCRIPT

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

FINISH THANK YOU

IRVAN ADRIAN KRISTIONO

41