Professional Documents
Culture Documents
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
Content
Chapter 5: MPLS Networks
MPLS
DiffServ in MPLS
MPLS TE
FATE schemes
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
Telecom Networks
HCMUT
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
Telecom Networks
HCMUT
Telecom Networks
HCMUT
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
MPLS NGN
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
Traditional IP Routing
Choosing the next hop
Open Shortest Path First (OSPF) to populate the routing
table
Route look up based on the IP address
Find the next router to which the packet has to be sent
Replace the layer 2 address
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
10
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
11
Path
Address
Prefix
Path
125.50
125.50
145.40
145.40
Address
Prefix
Path
125.50
125.50
0
3
Telecomm. Dept.
Faculty of EEE
145.40
Telecom Networks
HCMUT
12
Path
Address
Prefix
Path
125.50
125.50
145.40
145.40
0
3
Data
Data
125.50.33.85
Address
Prefix
Path
125.50
125.50
2
125.50.33.85
1
145.40
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
13
Disadvantages
More losses
No QoS
No service differentiation
Not possible with connectionless protocols
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
14
Traffic Engineering
Flexibility in routing packets
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
15
What is MPLS?
Multi Protocol supports protocols even other than IP
Supports IPv4, IPv6, IPX, AppleTalk at the network layer
Supports Ethernet, Token Ring, FDDI, ATM, Frame Relay, PPP at the link
layer
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
16
MPLS Background
Integration of layer 2 and layer 3
Simplified connection-oriented forwarding of layer 2
Flexibility and scalability of layer 3 routing
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
17
IP/MPLS comparison
Routing decisions
IP routing based on destination IP address
Label switching based on labels
Telecom Networks
HCMUT
18
Key Acronyms
MPLS MultiProtocol Label Switching
FEC Forward Equivalence Class
LER Label Edge Router
LSR Label Switching Router
LIB Label Information Base
LSP Label Switched Path
LDP Label Distribution Protocol
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
19
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
20
FEC example
Assume packets have the destination address as
124.48.45.20
143.67.25.77
143.67.84.22
124.48.66.90
FEC 1
label x
143.67.25.77
143.67.84.22
Telecomm. Dept.
Faculty of EEE
FEC 2 label y
124.48.45.20
124.48.66.90
Telecom Networks
HCMUT
21
FEC 2 label b
143.67.25.77
124.48.45.20
Telecomm. Dept.
Faculty of EEE
FEC 3 label c
143.67.84.22
143.67.12.01
FEC 4 label d
124.48.66.90
Telecom Networks
HCMUT
22
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
23
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
24
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
25
Ru
Telecomm. Dept.
Faculty of EEE
Rd
Ru
Rd
Telecom Networks
HCMUT
26
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
27
LSP
LSP
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
28
Shim Header
A short, fixed length identifier (32 bits)
Sent with each packet
Local between two routers
Can have different labels if entering from different routers
One label for one FEC
Decided by the downstream router
LSR binds a label to an FEC
It then informs the upstream LSR of the binding
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
29
S bit
Supports hierarchical label stack
1 if the label is the bottom most label in the label stack
0 for all other labels
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
30
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
31
TTL (contd)
Shim header
Has an explicit TTL field
Initially loaded from the IP header TTL field
At the egress LER, value of TTL is copied into the TTL field
of the IP header
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
32
Label: AToM
ATM
VCI/VPI field of ATM header
Frame Relay
DLCI field of FR header
PPP/LAN
shim header inserted between layer 2 and layer 3
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
33
Label stack
MPLS supports hierarchy
A packet can carry a number of labels
Each LSR processes the topmost label
Irrespective of the level of hierarchy
Telecom Networks
HCMUT
34
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
35
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
36
Generally, NO
BUT no such specification
LSR must have different label spaces to accommodate both
SHIM header specifies that different label spaces used for
unicast packets and multicast packets
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
37
Invalid labels
What should be done if an LSR receives an invalid
label?
Should it be forwarded as an unlabeled IP packet?
Should it be discarded?
MUST be discarded!
Forwarding it can cause a loop
Same treatment if there is no valid outgoing label
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
38
Route selection
Refers to the method of selecting an LSP for a
particular FEC
Done by LDP
Set of procedures and messages
Messages exchanged between LSRs to establish an LSP
LSRs associate an FEC with each LSP created
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
39
Explicit routing
A single router, generally the ingress LER,specifies several
or all of the LSRs in the LSP
Provides functionality for traffic engineering and QoS
o Several: loosely explicitly routed
o All: strictly explicitly routed
Telecom Networks
HCMUT
40
Incoming label
Outgoing label
Outgoing path
Address prefix
Telecomm. Dept.
Faculty of EEE
Incoming
label
Address Prefix
Outgoing
Path
Outgoing
label
Telecom Networks
HCMUT
41
MPLS forwarding
Existing routing protocols establish routes
LDP establishes label to route mappings
LDP creates LIB entries for each LSR
Ingress LER receives packet,adds a label
LSRs forward labeled packets using label swapping
Egress LER removes the label and delivers the packet
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
42
FEC in MPLS
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
43
Out
Path
In
Label
Out
Label
Address
Prefix
Out In
Path Label
Out
Label
125.50
125.50
145.40
145.40
125.50
0
3
Out In
Path Label
Out
Label
125.50
2
1
145.40
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
44
Out
Path
In
Label
Out
Label
Address
Prefix
Out In
Path Label
Out
Label
125.50
125.50
145.40
145.40
125.50
0
3
Data
Data
125.50.33.85 2
Out In
Path Label
Out
Label
125.50
2
125.50.33.85 9
1
145.40
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
45
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
46
46
DiffServ Architecture
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
47
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
48
Defined PHBs
Expedited Forwarding (EF): RFC2598
dedicated low delay queue
Comparable to Guaranteed B/W in IntServ
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
49
dd = drop preference
Eg. AF12 = Class 1, Drop 2, thus 001100
4 independently-forwarded AF classes
Within each AF class, 3 levels of drop priority! This is very useful to protect
conforming to a purchased, guarantee rate, while increasing chances of
packets exceeding contracted rate being dropped if congestion is
experienced in the core.
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
50
Diff-Serv:
Diff-Serv:
Aggregation on Edge
Many flows associated with a
Class (marked with DSCP)
Telecom Networks
HCMUT
51
MPLS:
Aggregation on Edge
Many flows associated with a
Forwarding Equivalent Class
(marked with label)
MPLS:
Aggregated Processing in Core
Forwarding based on label
Telecom Networks
HCMUT
52
MPLS: flows
associated with
FEC, mapped into
one label
DS: flows associated
with Class, mapped to
DSCP
MPLS:
Switching
based on
Label
DS:
Scheduling/Dropping
based on DSCP
Telecom Networks
HCMUT
53
MPLS
Diff-Serv Domain
MPLS Header
DSCP
DSCP
0
1
2
3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
Label
| EXP |S|
TTL
|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
DSCP field is not directly visible to MPLS Label Switch Routers (they
forward based on MPLS Header)
Information on DiffServ must be made visible to LSR in MPLS Header
(using EXP field / Label)
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
54
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
55
LSR
LDP/RSVP
E-LSP
AF1
EF
Telecom Networks
HCMUT
56
LDP/RSVP
LSR
L-LSPs
Telecom Networks
HCMUT
57
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
58
58
R3
R4
R5
R2
R1
R6
R7
Telecom Networks
HCMUT
59
R3
R4
R5
R2
R1
R6
R7
Telecom Networks
HCMUT
60
R8
R3
R4
R2
Pop
R5
R1
32
49
17
R6
R7
22
Telecom Networks
HCMUT
61
WAN area
POP4
POP1
POP
POP2
POP
Telecomm. Dept.
Faculty of EEE
POP
Telecom Networks
HCMUT
62
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
63
Telecom Networks
HCMUT
64
LDP
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
65
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
66
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
67
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
68
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
69
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
70
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
71
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
72
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
73
LDP - Advantages
Explicit routing
Set up a LSP between Ingress Router and Egress
Router
Label request for each hop on down-stream
Label mapping : up-stream
Errors occur: router sends a alarm message to
neighbors or operating routers to re-direct for current
LSP
Less resources (compared with RSVP)
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
74
LDP - Disadvantages
Slow error recovery
Not support dynamically re-optimization of traffic flows
Transient periods: efficiency of Resource Location could be
influenced by routing traffic.
Require means to restore the LSP to the original routes once
congestion has subsided
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
75
Input
link
10-6
IP L
Classifier
Scheduler
IP L
Output link
IP L
10-4
IP L
Successfully
inserted packets
Template
Output
buffer
Management
Buffer ID
Unsuccessful insertion.
Destroy packet.
CCCDCCCDCCCD
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
76
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
77
Telecom Networks
HCMUT
78
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
79
FATE Scalability
How to monitor thousands of LSPs ?
How a MPLS network applies congestion control mechanism
in a situation of numerous flows?
How can SPs ensure the customers SLA is met while
traversing this network?
Solutions
In a single domain: exchanging messages can be easily handled
under the control of Ingress and Egress LERs
In a Generalized MPLS domain : assign Virtual Source/Virtual
Destination (VS/VD) of each domain using label stacking
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
80
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
81
FATE Advantages/Disadvantages
Fast acting mechanism
Allow individual LSPs to be dynamically remapped to
QoS buffers
Provide a notification from congested LSR to Ingress
LER
Can not make decision about the current LSP
Suitable in strictly routed LSPs
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
82
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
83
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
84
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
85
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
86
FATE+ - Disadvantages
Loop packets
Can not reroute when:
Finding a new LSP via downstream LER but no
resources
Congested LER and its neighbors can not reroute
but other LERs can
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
87
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
88
FATE+ - No resources
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
89
Telecomm. Dept.
Faculty of EEE
Telecom Networks
HCMUT
90