MikroTik RouterOS Introduction to MPLS. Prague MUM Czech Republic 2009



Similar documents
Introducing Basic MPLS Concepts

Enterprise Network Simulation Using MPLS- BGP

Computer Network Architectures and Multimedia. Guy Leduc. Chapter 2 MPLS networks. Chapter 2: MPLS

MPLS for ISPs PPPoE over VPLS. MPLS, VPLS, PPPoE

ISTANBUL. 1.1 MPLS overview. Alcatel Certified Business Network Specialist Part 2

Implementation of Traffic Engineering and Addressing QoS in MPLS VPN Based IP Backbone

Multi Protocol Label Switching (MPLS) is a core networking technology that

For internal circulation of BSNLonly

How To Understand The Benefits Of An Mpls Network

Expert Reference Series of White Papers. An Overview of MPLS VPNs: Overlay; Layer 3; and PseudoWire

How Routers Forward Packets

MPLS-based Virtual Private Network (MPLS VPN) The VPN usually belongs to one company and has several sites interconnected across the common service

MPLS VPN Services. PW, VPLS and BGP MPLS/IP VPNs

Implementing MPLS VPN in Provider's IP Backbone Luyuan Fang AT&T

Internetworking II: VPNs, MPLS, and Traffic Engineering

MPLS Implementation MPLS VPN

ICTTEN6172A Design and configure an IP- MPLS network with virtual private network tunnelling

MPLS/BGP Network Simulation Techniques for Business Enterprise Networks

RFC 2547bis: BGP/MPLS VPN Fundamentals

IP/MPLS-Based VPNs Layer-3 vs. Layer-2

How To Make A Network Secure

Kingston University London

- Multiprotocol Label Switching -

MPLS Concepts. Overview. Objectives

MPLS in Private Networks Is It a Good Idea?

Introduction to MPLS-based VPNs

l.cittadini, m.cola, g.di battista

Bandwidth Management in MPLS Networks

MP PLS VPN MPLS VPN. Prepared by Eng. Hussein M. Harb

MPLS Layer 3 and Layer 2 VPNs over an IP only Core. Rahul Aggarwal Juniper Networks. rahul@juniper.net

Implementing VPN over MPLS

SBSCET, Firozpur (Punjab), India

MPLS over IP-Tunnels. Mark Townsley Distinguished Engineer. 21 February 2005

MPLS is the enabling technology for the New Broadband (IP) Public Network

DESIGN AND VERIFICATION OF LSR OF THE MPLS NETWORK USING VHDL

AT&T Managed IP Network Service (MIPNS) MPLS Private Network Transport Technical Configuration Guide Version 1.0

WAN Topologies MPLS. 2006, Cisco Systems, Inc. All rights reserved. Presentation_ID.scr Cisco Systems, Inc. All rights reserved.

IPv6 over IPv4/MPLS Networks: The 6PE approach

APPLICATION NOTE 211 MPLS BASICS AND TESTING NEEDS. Label Switching vs. Traditional Routing

RA-MPLS VPN Services. Kapil Kumar Network Planning & Engineering Data. Kapil.Kumar@relianceinfo.com

Cisco Configuring Basic MPLS Using OSPF

DD2491 p MPLS/BGP VPNs. Olof Hagsand KTH CSC

Notice the router names, as these are often used in MPLS terminology. The Customer Edge router a router that directly connects to a customer network.

Design of MPLS networks VPN and TE with testing its resiliency and reliability

PRASAD ATHUKURI Sreekavitha engineering info technology,kammam

MPLS L2VPN (VLL) Technology White Paper

DD2491 p BGP-MPLS VPNs. Olof Hagsand KTH/CSC

Virtual Private Networks. Juha Heinänen Song Networks

Layer 3 Multiprotocol Label Switching Virtual Private Network

MPLS - A Choice of Signaling Protocol

IMPLEMENTING CISCO MPLS V2.3 (MPLS)

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

VPLS Technology White Paper HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

Course Description. Students Will Learn

MPLS Basics. For details about MPLS architecture, refer to RFC 3031 Multiprotocol Label Switching Architecture.

Junos MPLS and VPNs (JMV)

Virtual Private LAN Service on Cisco Catalyst 6500/6800 Supervisor Engine 2T

IMPLEMENTING CISCO MPLS V3.0 (MPLS)

PROTECTION ALGORITHMS FOR BANDWIDTH GUARANTEED CONNECTIONS IN MPLS NETWORKS WONG SHEK YOON

A Simulation Analysis of Latency and Packet Loss on Virtual Private Network through Multi Virtual Routing and Forwarding

Analysis of traffic engineering parameters while using multi-protocol label switching (MPLS) and traditional IP networks

MPLS Environment. To allow more complex routing capabilities, MPLS permits attaching a

CS419: Computer Networks. Lecture 9: Mar 30, 2005 VPNs

Investigation of different VPN Solutions And Comparison of MPLS, IPSec and SSL based VPN Solutions (Study Thesis)

White Paper. Cisco MPLS based VPNs: Equivalent to the security of Frame Relay and ATM. March 30, 2001

MPLS Layer 2 VPNs Functional and Performance Testing Sample Test Plans

MikroTik RouterOS Workshop Load Balancing Best Practice. Warsaw MUM Europe 2012

Leveraging Advanced Load Sharing for Scaling Capacity to 100 Gbps and Beyond

Implementing Cisco MPLS

WHITE PAPER. Multi-Protocol Label Switching (MPLS) Conformance and Performance Testing

S ITGuru Exercise (3: Building the MPLS BGP VPN) Spring 2006

MPLS VPNs with DiffServ A QoS Performance study

Protection Methods in Traffic Engineering MPLS Networks

SEC , Cisco Systems, Inc. All rights reserved.

AMPLS - Advanced Implementing and Troubleshooting MPLS VPN Networks v4.0

NAVAL POSTGRADUATE SCHOOL THESIS

November Defining the Value of MPLS VPNs

Implementing Cisco Service Provider Next-Generation Edge Network Services **Part of the CCNP Service Provider track**

Network Virtualization with the Cisco Catalyst 6500/6800 Supervisor Engine 2T

Master Course Computer Networks IN2097

MPLS Based Recovery Mechanisms

Demonstrating the high performance and feature richness of the compact MX Series

VPN taxonomy. János Mohácsi NIIF/HUNGARNET tf-ngn meeting April 2005

DD2490 p Routing and MPLS/IP. Olof Hagsand KTH CSC

Project Report on Traffic Engineering and QoS with MPLS and its applications

MPLS-based Layer 3 VPNs

100Gigabit and Beyond: Increasing Capacity in IP/MPLS Networks Today Rahul Vir Product Line Manager Foundry Networks

INTRODUCTION TO L2VPNS

ETHERNET VPN (EVPN) NEXT-GENERATION VPN FOR ETHERNET SERVICES

Lesson 13: MPLS Networks

APNIC elearning: Introduction to MPLS

Design of Virtual Private Networks with MPLS

Department of Communications and Networking. S /3133 Networking Technology, Laboratory course A/B

Addressing Inter Provider Connections With MPLS-ICI

Content CHAPTER 1 MPLS OVERVIEW

MPLS Virtual Private Networks

L2 VPNs. Pseudowires. Virtual Private LAN Services. Metro/Carrier Ethernet.

Virtual Leased Lines - Martini

Virtual Private LAN Service (VPLS) Conformance and Performance Testing Sample Test Plans

Transcription:

MikroTik RouterOS Introduction to MPLS Prague MUM Czech Republic 2009

Q : W h y h a v e n 't y o u h e a r d a b o u t M P LS b e fo re? A: Probably because of the availability and/or price range

Q : W h y s h o u ld y o u c a r e a b ou t M PLS n ow? A: Probably because of the availability and/or price range... A:...and the reasons mentioned further in this presentation!

Networking There are 3 networking methods available to manage computer networks: Routing Protocols: RIP, OSPF, BGP Bridging Protocols: STP, RSTP, MESH Switching Protocols: MPLS, ATM, Frame Relay

Concept of Switching

Switching Switching is a network communications method that groups all transmitted data (no matter of content, type, or structure) into suitably-sized blocks Each block is then transmitted over the network independently of each other Network is capable of allocating transmission resources as needed, in this way optimizing utilization of link capacity and robustness of communication

MPLS MPLS stands for Multi Protocol Label Switching MPLS is a packet forwarding method based on labels attached to the packet and a label forwarding table with minimal lookup overhead With MPLS the packet forwarding decision is no longer based on IP header and routing table Efficiency of forwarding process is the main benefit of MPLS

MPLS Header Also called Layer2.5 (because it is placed between OSI Layer2 and Layer3) Header can consist of one or several 32bit shims: Label (20 bits) EXP (3 bits) Class of Service End of stack flag(1 bit) is it last label? TTL (8 bits) L2 MPLS Label L3 EXP S TTL 8

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 hosts loopback IP address that isn't attached to any real network interface (recommended) Homogeneous MPLS cloud all devices inside the MPLS cloud must have MPLS support

MPLS Basics LER Label Edge Router LSR Label Switch Router Packets are classified and labelled labeled at at ingress ingress LER LER LSRs forward packets using label swapping LER LER IP packet LSR LSR Label is removed at egress LER MPLS Backbone 10

MPLS Benefits Increased scalability of the network Increased forwarding performance of the network Increased amount of possible VPN solutions that an ISP can offer to clients Traffic engineering Quality of Service Redundancy and failover 11

BGP Scalability with MPLS E Traditionally you have to run BGP on all core routers Routed backbone BGP C C C E With MPLS, you only need to run BGP on network edges BGP E C C C MPLS backbone E Note: it is easy to migrate from routed backbone to MPLS enabled backbone

MPLS enabled L2 VPNs Layer2 service without the drawbacks of Layer2 network Site 2 Customer L2 frame CE2 Uses split-horizon method to prevent loops ( RSTP is not required) Label stack L2 header PE2 PE1 New service is configured at the edge routers (no need to make changes to the network core) MPLS backbone Pseudo wire CE1 Site 1 Simpler to configure, easier to manage Complete separation between providers network and customers network

Split Horizon Forward Ethernet frame coming from PE to connected CEs Packets are not forwarded to interfaces with the same horizon value Horizon value is set in bridge port configuration /interface bridge port add bridge=vpn interface=vpls1 horizon=1 CE1 CE3 PE3 PE1 CE2 CE4 PE2 14

Current Layer2 VPNs Customer based VPN GW GW CE Site 2 CE Site 1 GW Site 3 Big Overhead (Ethernet+GRE+IP) Not very scalable ISP CE Additional administration expenses EoIP tunnels Each new site requires configuration of EoIP tunnels to every existing site ISP is not involved

MPLS VPLS Provider based VPN service GW GW Site 2 Bandwidth improvements CE CE PE Site 1 Smaller Overhead (Ethernet+2 labels) Can ask provider for guaranteed VPLS bandwidth PE ISP PE CE GW Site 3 Each new site only requires correct PE configuration All the work is done by the ISP ISP is ready to sell new type of service

Layer3 VPNs VPN A Site1 VPN scalability Each VPN has unique routing table (VRF table) Customer IP address freedom (overlapping private IPs) VPN B Site1 BGP peering MPLS cloud Can be set over existing BGP network VPN A Site2 VPN A Site3 VPN B Site2

VRF Table Means 'Virtual Routing and Forwarding Table' VRF tables are similar to policy routing, except: Each VRF table is independent - main routing table will not be used if VRF table fails to resolve route BGP can be used to distribute routes between different VRF tables in the router

IP Routing Limitation After two IP traffic flows for the same destination are merged, it is impossible to split them and reroute over different paths Overloaded link from Router C to Router E A E C F D 40Mbps traffic from A to F B 40Mbps traffic from B to F

Traffic Engineering TE tunnels can be used to shift the traffic load onto less utilized links A E C F D B TE Tunnel1 50Mbps TE Tunnel2 50Mbps

Customers Bandwidth Protection Customers do not care how it is offered by the provider With TE it is easy to deliver guaranteed bandwidth from point A to point B Provider's network Main bandwidth Backup bandwidth

Bandwidth Optimization Separate tunnels for voice, video, or data Backup tunnels over the third link Voice Tunnel Data Tunnel Backup Voice Tunnel Backup Data Tunnel

MPLS on RouterOS Supported features Static label binding for Ipv4 LDP for Ipv4 Virtual Private Lan Service LDP based VPLS MP-BGP based autodiscovery and signaling RSVP TE Tunnels OSPF extension for TE tunnels Explicit path and CSPF path selection Forwarding VPN traffic on TE tunnels OSPF as CE-PE

MPLS on RotuerOS Not yet supported Ipv6 LDP features Downstream on demand Ordered label distribution protocol RIP and ibgp as CE-PE protocols TE features Fast reroute link/node protection Full feature list at http://wiki.mikrotik.com/wiki/mpls

From EoIP to VPLS lo:10.1.1.1 e1 Site 1 R1 e2 lo:10.1.1.2 e1 R2 e2 Routed network lo:10.1.1.3 e1 R3 e2 Site 2 EoIP Example: We have a routed network between R1, R2 and R3 EoIP tunnel is established between R1 and R3 to guarantee Layer2 connectivity between Site 1 and Site 2

From EoIP to VPLS Enable LDP /mpls ldp set enabled=yes lsr-id=10.1.1.x \ transport-address=10.1.1.x # on R1 /mpls ldp interface add interface=ether2 # on R2 /mpls ldp interface add interface=ether2 add interface=ether2 # on R3 /mpls ldp interface add interface=ether1

From EoIP to VPLS Configure VPLS # on R1 /interface vpls add name=r1tor2 remote-peer=10.1.1.3 \ vpls-id=10:10 /interface bridge port add bridge=vpn interface=r1tor2 # on R3 /interface vpls add name=r2tor1 remote-peer=10.1.1.1 \ vpls-id=10:10 /interface bridge port add bridge=vpn interface=r2tor1

Speed tests Label switching on RB1000 64 byte pps 512 byte pps Bridging 414 000 359 000 MPLS 410 000 358 000 Routing 236 000 229 700 60% faster than EoIP tunnel over routed network Almost 2x faster than IP forwarding The same speed as bridging MPLS network Site 1 VPLS Site 2 64 byte pps 512 byte pps EoIP 190 000 183 900 VPLS 332 500 301 000

Useful links http://wiki.mikrotik.com/wiki/mpls General http://wiki.mikrotik.com/wiki/mpls_overview http://wiki.mikrotik.com/wiki/exp_bit_behaviour http://wiki.mikrotik.com/wiki/mpls_te_tunnels L2VPNs http://wiki.mikrotik.com/wiki/mplsvpls http://wiki.mikrotik.com/wiki/bgp_based_vpls http://wiki.mikrotik.com/wiki/cisco_vpls L3VPNs http://wiki.mikrotik.com/wiki/virtual_routing_and_forwarding http://wiki.mikrotik.com/wiki/a_complete_layer-3_mpls_vpn_example