Escolar Documentos
Profissional Documentos
Cultura Documentos
www.juniper.net
Before we start
Mainly of interest to providers/ISP/Carriers
Some interest in enterprise
www.juniper.net
Or in other words
Save money Make money
Copyright 2005 Juniper Networks, Inc. www.juniper.net 3
What is MPLS?
Its a tunnel!
Multiprotocol Label Switching Connection Orientated Virtual Circuits over IP implemented with label switching Grew out of
Ciscos Tag switching Ipsilon (Nokia) IP switching IBM ARIS 3Coms FAST IP
Expanding areas of application Promise of Multiprotocol Unification (Core NOT edge) Defined by RFC 3031, RFC 3032
Cost savings New services
www.juniper.net
MPLS Terminology
-An LSP is a unidirectional flow of traffic Ingress LER PE router Egress LER PE router
CE router CE router
LSRs P router
www.juniper.net
Label
Encapsulated packet
Label
Encapsulated packet
www.juniper.net
2
10.1.0.2
10.1.0.2
10.1.0.2
2 3
Ingress Routing Table
Destination 172.16/16 10.1.0 /24 Next Hop (2, 57) (3, 96)
10.1.0.2 96 10.1.0.2
Destination
Next Hop
1 2 3
10.1.0.2 32
MPLS Table
In (1, 96) Out (2, 32)
MPLS Table
In (3, 32) Out (5, 0)
www.juniper.net
Labeled Packets
MPLS header is prepended to packet with a push operation at ingress node
Label is added immediately after Layer 2 encapsulation header
L2 Header L2 Header MPLS Header IP Packet IP Packet
The Label
Label
20 bits
EXP
3 bits
S
1 bit
TTL
8 bits
L2 Header L2 Header
MPLS Header
20 bits 32 bits
IP Packet IP Packet
Label Used to identify virtual circuit EXP Experimental. Currently this is used to identify class of servce (CoS) S (Stack Bit) Used to indicate if there is another label inside this packet or is it the original encapsulated data TTL Time to live, functionally equivalent to IP TTL.
www.juniper.net
Example - Ethernet
My Web Page TCP | port = 80 (www) IP Header | Protocol = TCP Label = 23 | EXP = BE | S = 0 | TTL = 254 Label = 47 | EXP = BE | S = 1 | TTL = 240
Type = 8347
www.juniper.net
10
www.juniper.net
11
Signaling
Protocols that are used to setup Tell the routers what maintain and tear down LSPs. label to use on each hop! Can behave differently depending on function Lets describe a language / concepts to understand these differences in operation
www.juniper.net
12
Signalling Protocols
LDP
Label Distribution Protocol
Which you use depends on why you are using MPLS! Maybe you need all of them!
RSVP-TE
Resource Reservation Protocol with Traffic Engineering Extensions
MBGP
Multi-protocol BGP
www.juniper.net
13
Which to choose
Traffic Engineering, Traffic Protection VPNs
RSVP Link State protocol LDP or RSVP (all LSRs) MBGP (PEs only) Configuration scaling LDP configuration is per box RSVP configuration is per LSP
LDP support for L3 VPNs is mandated!
www.juniper.net
14
www.juniper.net
15
10
192.168.1/24
10 10 10 3
R2
R1
10 3
134.112/16
www.juniper.net
16
MPLS because
Granularity of flows Flow = all traffic with same FEC One network for all services Less expensive
www.juniper.net
17
Traffic Protection
Working definition
Reduce time of disruption Reduce Packet Loss SONET like sub millisecond recovery under failure conditions SONET/SDH Lower IGP timers No extra capital config change only Pick which traffic needs it One network for all services Less expensive
www.juniper.net
18
Primary
www.juniper.net
19
Multi-Vendor
Link Protection Link-Node Protection
www.juniper.net
20
Attractive to
Customer who do not want to run their own backbone
Not attractive to
Customer who doesnt trust carrier Customers whos jobs are threatened
www.juniper.net
21
VPN A Site 1
CE
PE
VPN A Site 3
CE
www.juniper.net
22
CE PE
VRF
PE
VRF VRF
Site 3 CE Site 2
P P
CE Site 1 PE P PE
for each of its directly connected VPNs Conventional IP routing between CE and PE routers VPN routes distributed using MP-BGP
Uses extended communities
Copyright 2005 Juniper Networks, Inc.
23
www.juniper.net
24
L3 VPN Options
Can we do it another way
Separate Physical routers Separate Logical Routers
MPLS because
Scaling Single site provisioning Less expensive
www.juniper.net
25
Layer 2 VPNs
Provider provisioned VPN
ISP runs backbone for customer
Customer can be another ISP!
Attractive to
Customers who want to preserve current CE technology Customers who dont trust provider with L3 Carriers who want to offer another service
Not Attractive to
Customers who do not want to run their own backbone
www.juniper.net
26
PE VPN A Site 3 CE
www.juniper.net
27
L2 VPN Options
Can we do it another way?
Traditional ATM/FR/leased line infrastructure
MPLS because
One network for all services Less expensive Scaling Single site provisioning *
www.juniper.net
28
VPLS
Virtual Private LAN Service Attractive to
Customers who like ethernet as CE Lots of locations close together with high WAN bandwidth requirements (kiosks) No routing required
Not attractive to
Customers who like control and visibility of core. what can I ping to identify fault-domain? Controlling broadcasts
www.juniper.net
29
VPLS
Make the cloud look like an ethernet switch
PE VPN A Site 3 CE
www.juniper.net
30
VPLS Options
Can we do it another way?
Separate physical switches tying all customer sites VLANs over layer 2 backbone
MPLS because
Scaling One network for all services Less expensive
www.juniper.net
31
Pat h
Path
Miami
www.juniper.net
32
96
RES V
3
32
RESV
Miami
LSP Established!
Copyright 2005 Juniper Networks, Inc. www.juniper.net 33
RES V
10.1.0.2
Miami
www.juniper.net
34
Seattle
10.1.0.2 45
10.1.0.2
10.1.0.2 33
10.1.0.2
Miami
www.juniper.net
35
www.juniper.net
36
Ordered Mode
Not Independent Mode
www.juniper.net
37
Seattle
10.1.0.2
10.1.0.2
Miami
www.juniper.net
38
Seattle
10.1.0.2 45
10.1.0.2
10.1.0.2 32
10.1.0.2
Miami
www.juniper.net
39
Label Stacking
PE 1
IP
LDP
IP
IP
IP
X
PE 2
Further Reading
1. 2. 3. http://www.juniper.net/solutions/literature/white_papers/ http://www.juniper.net/solutions/literature/white_papers/200012.pdf www.mplsrc.com
www.juniper.net
41
Thank You !
www.juniper.net
42
Me in Thimphu
www.juniper.net
43