21
Working of IP MPLS MPLS Encapsulation: Label Stack Penultimate Hop Popping Label Switched Path and Routers Control and Data Plane IP MPLS Tables What is VRF? Ankur Mittal Senior Manager/RailTel Need for VRF Route Distinguisher Route Target RD RT Working and MP-BGP Switching Advantages MPLS Performance

Working of IP MPLS - ncr.indianrailways.gov.in

  • Upload
    others

  • View
    11

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Working of IP MPLS - ncr.indianrailways.gov.in

Working of IP MPLS

MPLS Encapsulation: Label Stack

Penultimate Hop Popping

Label Switched Path and

Routers

Control and Data Plane

IP MPLS Tables

What is VRF?

Ankur Mittal

Senior

Manager/RailTel

Need for VRF

Route Distinguisher

Route Target

RD RT Working and MP-BGP

Switching Advantages

MPLS Performance

Page 2: Working of IP MPLS - ncr.indianrailways.gov.in

Certain link layer technologies can carry label as a part of their link layer header

e.g ATM & Frame Relay

Link layers that do not support labels in their header carry them in a “shim” label header MPLS header is pre-pended to packet with a push operation at ingress node

Label is added immediately after Layer 2 encapsulation header

Packet is restored at the end of the LSP with a pop operation

Normally the label stack is popped at penultimate node

MPLS Encapsulation: Label Stack

Layer 2 Header MPLS Label 1 MPLS Label 2 MPLS Label n Layer 3 Packet …

RFC 3032. MPLS

Label Stack Encoding

Page 3: Working of IP MPLS - ncr.indianrailways.gov.in

Forwarding via Label Swapping

417 data 288 data

Page 4: Working of IP MPLS - ncr.indianrailways.gov.in

Popping Labels

data 288 data

288 data 577 data 577

Page 5: Working of IP MPLS - ncr.indianrailways.gov.in

Pushing Labels

data 288 data

288 data 577 data 577

Page 6: Working of IP MPLS - ncr.indianrailways.gov.in

417 IP 666 IP 233 IP IP IP

POP

+

IP Lookup PUSH SWAP SWAP

666 IP 233 IP IP IP

IP Lookup PUSH POP SWAP

IP

Penultimate Hop Popping

Page 7: Working of IP MPLS - ncr.indianrailways.gov.in

Core Functions

Customer

IP Network

Edge Functions

LSP

Label Switched Path

Customer

IP Network

Label Switched Path

Page 8: Working of IP MPLS - ncr.indianrailways.gov.in

Label Switched Routers

The data plane

IP IP Forwarding Table

IP in IP out IP

Label Swapping Table

MPLS in MPLS out

77 data 23 data

represents IP Lookup + label push

represents label pop + IP lookup

Page 9: Working of IP MPLS - ncr.indianrailways.gov.in

Control and Data Plane

Page 10: Working of IP MPLS - ncr.indianrailways.gov.in

IP MPLS Tables

• RIB Routing Information Base

• FIB Forwarding Information Base

• LIB Label Information Base

• LFIB Label Forwarding Information Base

Page 11: Working of IP MPLS - ncr.indianrailways.gov.in

How it works?

Page 12: Working of IP MPLS - ncr.indianrailways.gov.in

Real-world Scenario

Page 13: Working of IP MPLS - ncr.indianrailways.gov.in

Customer isolation is achieved on the PE router by the virtual

routing table called VRF (VPN RF).

VRF also contains VPN identifiers as well as VPN membership

information (RD and RT)

VRF: Virtual Routing and Forwarding Table

Page 14: Working of IP MPLS - ncr.indianrailways.gov.in

Need for VRF

Page 15: Working of IP MPLS - ncr.indianrailways.gov.in

PE router provides isolation between customers using VRFs

Information needs to be carried between PE routers to

enable data transfer between customer sites via the MPLS

VPN backbone

A RD is a 64-bit unique identifier that is prepended to the 32-

bit customer prefix or route learned from a CE router, which

makes it a unique 96-bit address that can be transported

between the PE routers in the MPLS domain

Route Distinguisher

Page 16: Working of IP MPLS - ncr.indianrailways.gov.in

Additional identifiers used in the MPLS VPN domain in the

deployment of MPLS VPN that Identify membership of the

routes learned from that particular site

Use extended BGP community.

Export and import target is use.

The format of a RT is the same as an RD value.

These VPN labels are per route or per forwarding instances.

Route Targets

Page 17: Working of IP MPLS - ncr.indianrailways.gov.in

RD RT Working and MP-BGP

Page 18: Working of IP MPLS - ncr.indianrailways.gov.in

Overview

Page 19: Working of IP MPLS - ncr.indianrailways.gov.in

Advantages of switching over routing Performance

Faster transit time

Less Delay

Packet prioritization

Flexible routing

Scalability and simplicity

Ease of management

IP MPLS DLC

Data

Link

IP

MPLS

Label

IP DLC

IP Address

Switching Advantages

Page 20: Working of IP MPLS - ncr.indianrailways.gov.in

Data

Link

IP

MPLS

Routed Packet

Data

Link

IP

MPLS

Switched Packet

Forwarding

Table

Forwarding

Table

Forwarding

Table

MPLS faster transit over IP routing Requires less CPU and memory

Indexed lookup of forwarding table as opposed to best fit IP address lookup

Smaller forwarding table—only contains known LSRs as opposed to all known IP

networks Internet routing table contains more than 70,000 table entries

MPLS Performance

Page 21: Working of IP MPLS - ncr.indianrailways.gov.in

Batasia Loop of Darjeeling Himalayan Railways – A Heritage Railway under UNESCO

Your Blessings means a lot to us.

Thank You