Mpls l2 VPN Principle
Mpls l2 VPN Principle
Mpls l2 VPN Principle
MPLS L2 VPN
ISSUE 1.0
Objectives
Provide
L2 VPN
Give
Course Contents
MPLS L2 VPN Overview
MPLS L2 VPN Data Flow
Signaling Methods
Whats L2 VPN
rt5
rt2
dlci:506
dlci:504
dlci:201
dlci:203
SB
rt1
dlci:102
dlci:103
SC
Frame Relay Network
dlci:605
dlci:604
dlci:302
dlci:405
SA
dlci:406
rt6
rt3
dlci:301
rt4
Traditional
MPLS
technologies:
Solution 2: Pre-provision
Solution 3: IP Backbone
rt2
dlci:201
dlci:506
dlci:504
dlci:203
rt1
dlci:605
dlci:102
dlci:103
rt6
dlci:604
dlci:302
dlci:405
rt3
dlci:301
rt4
dlci:406
Tunnel
Emulated Virtual Circuit
Obviously,
Whats tunnel?
Label:17
A
B
LFIB of A
in
Label:18
Label:101
NHLFE
in
Tunnel
LFIB of B
NHLFE
Label:100
in
LFIB of C
NHLFE
1000
LFIB of A
in
NHLFE
101
B
2000
LFIB of B
18
17
101
in
Tunnel LSP
NHLFE
C
dlci 250
100
in
NHLFE
LFIB of C
250
18 1000
17 1000
A
C
B
LFIB of A
in
NHLFE
LFIB of B
in
NHLFE
in
NHLFE
LFIB of C
is MPLS L2 VPN!
have seen basic thoughts of MPLS L2 VPN. But that not all.
10
Course Contents
MPLS L2 VPN Overview
MPLS L2 VPN Data Flow
Signaling Methods
11
L2
Encapsulation
Data
12
Flow Model
L2 Data Encapsulation
Generally,
encapsulation:
Tunnel Header
It contains the information needed to transport the L2 PDU across
backbone;
Demultiplexer Field
It is used to distinguish individual emulated virtual circuits within a
single tunnel;
Emulated VC Encapsulation
It contains the information about the enclosed layer 2 PDU which is
necessary in order to properly emulate the corresponding layer 2
protocol.
13
Tunnel Label
EXP
14
S
TTL
EVC Label
EXP
TTL
Emulated VC Encapsulation
Quotes
from draft-martini-l2circuit-encap-mpls-04.txt
Tunnel
15
L2 Encapsulations
Flags
The
is protocol specific.
packet delivery.
16
Frame Relay
ATM Cell
Ethernet VLAN
Ethernet
HDLC
PPP
Frame Relay
B:
BECN
F:
FECN
D:
DE
C:
C/R
18
T: Transport
type
E:
EFCI
L:
CLP
C:
Command / Response
19
Ethernet
20
21
L2
Encapsulation
Data
22
Flow Model
So,
23
VPWS Scenarios
CE2
dlci:201
PE2
dlci:102
CE1
dlci:203
dlci:103
dlci:302 CE3
PE3
PE1
VPWS
dlci:301
24
PE Model
PE
25
DLCI
IN
102
100
NHLFE
IP
CE1
CE2
CE1
P
PE2
PE1
IN
102
NHLFE
IN
26
NHLFE
101
1000
DLCI
201
201
demultiplexer
control word
tunnel
PE2
dlci:203
1001000
102
dlci:102
dlci:103
CE1
dlci:302 CE3
dlci:301
PE1
The
In
PE3
27
VPLS Scenarios
CE2
PE2
P
CE1
CE3
PE3
PE1
VPLS
connection to PE.
28
PE Model
PE
Data Flow
incoming LSP
Forwarding Engine
30
CE2
VSI of the VPLS in PE1
MAC
Interface
E0
E0
Interface
E1
PE2
E0
A, B
Attributes
MAC
E0
E0
Physical Link
VIF 0
in lsp:(201,2000)
VIF 1
in lsp:(301,3000)
101 1000 A, B
Interface
E1
E0
E1
CE1
A, B
A, B
100 1000 A, B
MAC
Interface
Interface
Attributes
VIF 0
E0
Physical Link
VIF 0
in lsp:(101,1000)
VIF 1
in lsp:(301,3000)
E0
PE1
IN
150 1500 A, B
P
151 1500 A, B
NHLFE
100
150
200
250
MAC
300
350
PE3
VSI of the VPLS in PE3
31
Interface
VIF 0
A, B
E0
E1 CE3
MAC
Interface
E1
E0
Interface
Attributes
E0
Physical Link
VIF 0
in lsp:(151,1500)
VIF 1
in lsp:(251,2500)
Course Contents
MPLS L2 VPN Overview
MPLS L2 VPN Data Flow
Signaling Methods
32
Signaling Methods
General
Martini
Concept
Method
Kompella
33
Method
General Concept
Signaling
Tunnel Signaling
VC Signaling
34
Tunnel Signaling
Tunnel
MPLS Tunnel
LDP/CR-LDP
RSVP-TE
PE
PE
Traditional Tunnel
L2TP
GRE
IPSEC
PE
35
VC Signaling
VC
VPWS technologies
Typical
CE
Dlci 290, name vc1
VPLS technologies
PE
36
PE
technology.
VPLS V1
VPLS V1
37
VPLS V1
Signaling Methods
General
Martini
Concept
Method
Kompella
38
Method
draft-martini-l2circuit-encap-mpls-04
draft-martini-l2circuit-trans-mpls-08
Martini
39
Tunnel signaling
LDP is used to establish MPLS tunnels between PEs. However,
other tunnels also could be used.
VC signaling
PE names each attached VC by a 32 bits number: VC-ID.
LDP remote peer relationship is established between 2 PES, then it
is used to distribute and maintain label & VC bindings.
(1,1000;PE1)
(1,2000;PE2)
VC-ID:1
DLCI:100 PE1
PE2
CE1
40
VC-ID:1
DLCI:200
CE2
VC FEC
41
Fields in VC FEC
C
VC
42
Signaling Details
Tunnel
IN
Signaling
NHLFE
IN
PE2
100
NHLFE
push 101, send to c
pop, send to up layer
PE1
200
PE1
d
(PE1,100;a)
(PE2,201;b)
CE1
IN
100
200
NHLFE
b
P
(PE1,101;c)
DCLI 600
(PE2,200;d)
43
PE2
CE1
Signaling Details
VC
IN
Signaling
LDP Remote Peer, Downstream Unsolicited label distribution
IN
NHLFE
PE2
100
dlci 500
1000
NHLFE
push 101, send to c
pop, send to up layer
push 1000, send to PE1
pop, send to dlci 600
PE1
200
dlci 600
2000
(VC1,1000;PE1)
DCLI 500
CE1
PE1
IN
(VC1,2000;PE2)
b
NHLFE
PE2
44
DCLI 600
100
200
CE1
45
Signaling Methods
General
Martini
Concept
Method
Kompella
46
Method
draft-martini-l2circuit-encap-mpls-04
draft-kompella-ppvpn-l2vpn-00.txt
Kompella
significant features
Auto Configuration
47
General Concept
Kompella
Compares
additional features
Layer 2 interworking.
48
Protocols
Basic
49
NHLFE
PEB
PEC
100
150
PEA
IN
NHLFE
PEA
PEC
200
250
PEB
CE:1
CE:2
c
PEC
CE:3
50
B
IN
NHLFE
PEA
PEB
300
350
NHLFE
1-2
1-3
1000
1001
PEA
CE:1
NHLFE
2-1
2-3
2000
2001
RT(100:1),CE-ID(2),
Label Block(2000, 2001)
RT(100:1),CE-ID(1),
Label Block(1000, 1001)
RT(100:1),CE-ID(3),
Label Block(3000, 3001)
PEB
RT(100:1),CE-ID(3),
Label Block(2000, 2001)
RT(100:1),CE-ID(3),
Label Block(3000, 3001)
PEC
CE:3
C
You
IN
IN
NHLFE
3-1
3-2
3000
3001
51
CE:2
NHLFE
IN
NHLFE
1-2
2-1
1-3
2-3
1000
2000
1001
201 2000
2001
100
200
150
1->2
250
PEA
PEB
CE:1
CE:2
351 2001
151 1001
3->1
2->3
PEC
CE:3
52
IN
NHLFE
3-1
3-2
3000
3001
300
350
we have discussed, Its naturally to ask all labels bind with one CE
should be continuous.
Could
53
thoughts
Some
9 DLCIs:
100-109
concepts
Block Offset: 1
1000 1001 1002 1003
Label Base: 1000
Label Range: 4
54
CE1
Its range is 9.
It intends to
connect with
CE2 to CE10
6->1
PEA
PEB
CE6
CE1
55
new AFI for L2-VPN, a new SAFI, and also a new NLRI
format
for
carrying
the
individual
L2-VPN
label-block
56
Target
Layer2-Info
Extended Community
57
L2 Interworking
Kompella
58
Questions
59
Thank You !
Huawei-3Com Technology Co., Ltd.
www.huawei-3com.com