Aug 8, 2008

Frame Relay DLCI-to-DLCI Switching(L2TPv3)

這是L2 VPN的其中一種型式,在非Frame-Relay Switch(FRAD)上設定DLCI-to-DLCI的轉接達成Frame-Relay Switch模擬的功能,假設網路架構如下:

R1 <-> FR Network <-> R2 <- OSPF -> R3 <-> FR Network <-> R4

透過R2,R3兩個路由器的轉接讓R1 to R4有一個虛擬的L2通道(DLCI-to-DLCI)

(1)首先先在R2,R3上設定pseudowire class,利用R2,R3各自的loopback interface當根據

R2(config)#pseudowire-class PW
R2(config-pw-class)#encapsulation l2tpv3
R2(config-pw-class)#ip local interface loopback 0

R3(config)#pseudowire-class PW
R3(config-pw-class)#encapsulation l2tpv3
R3(config-pw-class)#ip local interface loopback 0


(2)將R1 to R2, R3 to R4特定DLCI設定為switched類型,藉此將R2,R3模擬成Frame-Relay Switch

R2(config)#int s0/0/0
R2(config-if)#frame-relay interface-dlci 201 switched

R3(config)#int s0/0/0
R3(config-if)#frame-relay interface-dlci 304 switched


(3)建立一個虛擬連線

R2(config)#connect R1toR4 s0/0/0 201 l2transport
R2(config-fr-pw-switching)#xconnect 3.3.3.3 203 pw-class PW

R3(config)#connect R1toR4 s0/0/0 304 l2transport
R3(config-fr-pw-switching)#xconnect 2.2.2.2 203 pw-class PW
Post a Comment