Beruflich Dokumente
Kultur Dokumente
(DIT)
ETU 08102
Digital Networks
Ally, J
jumannea@gmail.com
DIT
DIT
Traditional IP Forwarding
Traditional IP forwarding is based on the following:
Routing
Forwarding
only.
Routing
Traditional IP Forwarding
10.1.1.1
10.1.1.1
10
.1 .
1.1
Up
da
te:
Routing
lookup
1
.1.
8
1
.
.0/
10
0
.
0 .0
1
:
ate
d
Up
10
.0 .
0.0
/8
Routing
lookup
Routing
lookup
Every router may need full Internet routing information (more than
100,000 routes).
DIT
IP over ATM
10.1.1.1
10.1.1.1
10.1.1.1
10.1.1.1
10.1.1.1
10
. 1.
1 .1
10.1.1.1
10.1.1.1
10
. 1.
1 .1
DIT
MPLS Origin
DIT
IP
HYBRID
MPLS
+IP
CIRCUIT
SWITCHING
ATM
Carriers
services
Forwarding by IP
address
Forwarding by IP
address
MPLS Network
Incoming
packet
Forwarding by label
that is generated
from IP address
Forwarding
by label
Remove label
label
Incoming
packet
DIT
MPLS
Benefits of MPLS
Optimal trafc ow
MPLS Labels
MPLS Labels
DIT
MPLS Labels
MPLS Terminology
DIT
IP
IP
IP Forwarding
#L1
IP
#L2
LABEL SWITCHING
DIT
IP
#L3
IP
IP Forwarding
MPLS Example
10.1.1.1
10.1.1.1
L=
3
Label removal
and
routing lookup
L=3
5
L=
Routing lookup
and
label assignment
10.0.0.0/8 L=5
Label
swapping
L=5 L=3
DIT
L=17
L=3
L=5
10.1.1.1
DIT
LSRs in the core swap labels based on the contents of the label
forwarding table.
UDP-Hello
UDP-Hello
TCP-open
Initialization(s)
IP
TIME
Label request
#L2
Label mapping
DIT
MPLS Applications
MPLS Architecture
MPLS
Control
DIT
MPLS Architecture
Control Plane
OSPF: 10.0.0.0/8
LDP: 10.0.0.0/8
Label 17
OSPF
OSPF: 10.0.0.0/8
LDP
LDP: 10.0.0.0/8
Label 4
Data Plane
Labeled packet
Label 17
LFIB
417
Labeled packet
Label 4
DIT
10.1.1.1
10.1.1.1
10.1.1.1
IP Lookup
10.0.0.0/8 label 3
IP Lookup
10.0.0.0/8 label 5
IP Lookup
10.0.0.0/8 next hop
LFIB
label 8 label 3
LFIB
label 3 label 5
LFIB
label 5 pop
DIT
10.1.1.1
IP Lookup
10.0.0.0/8 label 1/3
IP Lookup
10.0.0.0/8 label 1/5
IP Lookup
10.0.0.0/8 Next hop
LFIB
label 8 label 1/3
LFIB
label 1/3 label 1/5
LFIB
label 1/5 pop
DIT
Representative 2 implementations
LDP (Label Distribution Protocol)
LSR-4
LSR-3
LSR-2
Egress
ingress
Request
Label Request
Path
set up
Label Mapping
Label=50
Data
Transfer
Label Request
Label Mapping
Label=30
IP 50
IP 30
DIT
Label Request
Label Mapping
Label=40
responce
IP 40
LER
LSR
LER
LSP
IP1
IP2
IP1
IP1
#L1
IP1
#L2
IP1
#L3
IP2
#L1
IP2
#L2
IP2
#L3
IP2
FEC = A subset of packets that are all treated the same way by a router
The concept of FECs provides for a great deal of flexibility and scalability
DIT
Dest
47.1
47.2
47.3
Out
1
2
3
3
Dest
47.1
47.2
47.3
Out
1
2
3
Out
1
2
3
1 47.1
2
1
2
1
47.2
47.3 3
2
DIT
Request: 47.1
47.1
:
t
s
ue
Req
1
47.3 3
2
Intf
In
3
Ma
g: 0
n
i
p
p
1
.50
47.1
3
2
Mapping: 0.40
47.2
DIT
3
1
Intf
In
3
47.3 3
47.2
2
IP 47.1.1.1
DIT
Dest
47.1.1
47.1
Intf
Out
2
1
Label
Out
1.33
0.50
3
1
Intf
In
3
47.3 3
47.2
2
IP 47.1.1.1
DIT
ER LSP - Advantages
Can
Can
IP
IPover
overMPLS
MPLS
DIT
20.1.1.1
Edge
LSR
L=3
L=5
10.1.1.1
L=31
L=43
20.1.1.1
LSR
Architecture of LSRs
LSRs,
Exchange labels
The
The
Architecture of LSRs
LSR
Exchange of
routing information
Exchange of
labels
Incoming
labeled packets
Control Plane
Routing Protocol
IP Routing Table
Label Distribution Protocol
Data Plane
Label Forwarding Table
Outgoing
labeled packets
Edge LSR
Control Plane
Routing Protocol
Exchange of
labels
IP Routing Table
Label Distribution Protocol
Incoming
IP packets
Incoming
labeled packets
Data Plane
IP Forwarding Table
Label Forwarding Table
Outgoing
IP packets
Outgoing
labeled packets
DIT
Traditional Router-Based
Networks
VPN Terminology
VPN Implementation
A VPN is an IP Models
network infrastructure that
Overlay VPNs:
Redundant Hub-and-Spoke
Topology
Peer-to-Peer VPNs:
Implementation Techniques
Benefits of VPN
Implementations
Overlay
VPN:
Peer-to-peer VPN:
Drawbacks of VPN
Overlay VPN:
Implementations
Peer-to-peer VPN:
VPN Connectivity
Category
VPNs can also
be categorized according to
the connectivity required between sites:
Drawbacks of Traditional
Peer-to-Peer VPNs
Shared PE router:
Dedicated PE router:
Note:
P Router = LSR
PE Router Architecture
Propagation of Routing
Information
Across the P-Network
Propagation of Routing
Information
Across the P-Network (Cont.)
Propagation of Routing
Information
Question:
Option #3: Run a single routing protocol that will carry all customer
between PE routers. Use MPLS labels to exchange
packets between PE routers.
The best answer:
routes
Propagation of Routing
Information
Across the P-Network (Cont.)
Question:
Answer:
The number of customer routes can be very large. BGP is the only
routing protocol that can scale to a very large number of routes.
Conclusion:
BGP is used to exchange customer routes directly between PE routers.
Propagation of Routing
Information
Across the P-Network (Cont.)
Route Distinguishers
RD converts non-unique IP addresses into unique VPN(RD)
IPv4 addresses.
The resulting address is a VPNv4 address.
VPNv4 addresses are exchanged between PE routers
via BGP.
Route Distinguishers
(Cont.)
Route Distinguishers
(Cont.)
Is the RD Enough?
VoIP Service Sample
Requirements:
Other sites from different customers do not communicate with each other.
Export RTs:
Import RTs:
VPNs Redefined
PE routers:
Exchange VPN routes with CE routers via per-VPN routing protocols.
Exchange core routes with P routers and PE routers via core IGP.
Exchange VPNv4 routes with other PE routers via MP-IBGP sessions.
PE routers can run standard IPv4 BGP in the global routing table:
Routing Tables on PE
Routers
The global routing table contains core routes (filled with core IGP)
and Internet routes (filled with IPv4 BGP).
The VRF tables contains routes for sites of identical routing
requirements from local (IPv4 VPN) and remote (VPNv4 via MPBGP) CE routers.
PE routers export VPN routes from VRF tables into MPBGP and propagate them as VPNv4 routes to other PE
routers.
End-to-End Routing
Update Flow:
An MP-BGP
MP-BGP
Update
update contains
these elements:
VPNv4 address
Extended communities
(route targets, optionally SOO)
Label used for VPN packet forwarding
Any other BGP attribute (for example,
AS path, local preference, MED,
standard community)
End-to-End Routing
Update Flow (Cont.)
Route Distribution to CE
Routers
Route targets
SOO attribute if defined
What Is Multi-VRF CE
(VRF-Lite)?
Multi-VRF CE (VRF-lite) is an application based on
VRF implementation.
Approach 1: The PE routers will label the VPN packets with an LDP label
for the egress PE router, and forward the labeled packets
across the MPLS backbone.
Results:
The P routers perform the label switching, and the packet reaches the
egress PE router.
Because the egress PE router does not know which VRF to use for
packet switching, the packet is dropped.
Approach 2:
Result:
The PE routers will label the VPN packets with a label stack,
using the LDP label for the egress PE router as the top label, and
the VPN label assigned by the egress PE router as the second
label in the stack.
The P routers perform label switching using the top label, and the packet
reaches the egress PE router. The top label is removed.
The egress PE router performs a lookup on the VPN label and forwards the
packet toward the CE router.
VPN PHP
Question: How will the ingress PE router get the second label
in the label stack from the egress PE router?
Answer: Labels are propagated in MP-BGP VPNv4 routing
updates.
DIT
DIT
DIT
What Is Traffic
Engineering?
TE is a process
of measures, models, and
Traffic Engineering
Motivations
Reduce the
overall cost of operations by more
efficient use of bandwidth resources
by routing protocols.
Network bandwidth may not be efficiently utilized:
The use of the explicit Layer 2 transit layer allows very exact
control of how traffic uses the available bandwidth.
PVCs or SVCs carry traffic across Layer 2.
Layer 3 at the edge sees a complete mesh.
MPLS TE
Summary