이 문서에서는 클라이언트로 시작된 L2TPv2(Layer 2 Tunneling Protocol version 2) 터널을 서버 역할을 하는 Cisco 4000 Series ISR4451-X/K9(ISR4000)와 함께 구성하는 방법에 대해 설명합니다.
이 컨피그레이션을 시도하기 전에 다음 요구 사항을 충족하는 것이 좋습니다.
이 문서는 특정 소프트웨어 및 하드웨어 버전으로 한정되지 않습니다.
이 문서의 정보는 특정 랩 환경의 디바이스를 토대로 작성되었습니다. 이 문서에 사용된 모든 디바이스는 초기화된(기본) 컨피그레이션으로 시작되었습니다. 현재 네트워크가 작동 중인 경우 모든 명령의 잠재적인 영향을 미리 숙지하시기 바랍니다.
클라이언트에서 시작한 VPDN(Virtual Private Dialup Network) 터널링 배포를 사용하면 원격 사용자가 공유 인프라를 통해 사설 데이터를 엔드 투 엔드 보호하면서 사설 네트워크에 액세스할 수 있습니다. 클라이언트에서 시작된 VPDN 터널링에는 클라이언트와 ISP NAS(Network Access Server) 간의 데이터를 보호하기 위해 추가 보안이 필요하지 않습니다.
제한 - appxk9는 ISR4000 라우터에서 활성화되어야 합니다. 이 라이센스가 없으면 PPP 협상이 끝날 때 클라이언트에 대한 경로가 설치되지만 클라이언트와 서버 간의 레이어 3 연결이 설정되지 않습니다.

클라이언트 라우터의 컨피그레이션 예는 다음과 같습니다.
!
l2tp-class CISCO
!
pseudowire-class CLASS
encapsulation l2tpv2
ip local interface Vlan333
!
interface FastEthernet0/0
switchport access vlan 333
no ip address
no keepalive
!
interface Virtual-PPP1
ip address negotiated
ppp chap hostname cisco@cisco.com
ppp chap password 0 cisco
pseudowire 10.1.1.2 1 pw-class CLASS !! Specifies the IP address of the tunnel
server and the 32-bit virtual circuit identifier (VCID) shared between the
devices at each end of the control channel.
!
interface Vlan333
ip address 10.1.1.1 255.255.255.0
!
서버 역할을 하는 ISR4000의 컨피그레이션 예는 다음과 같습니다.
vpdn enable
!
vpdn-group 1
accept-dialin
protocol l2tp
virtual-template 1
terminate-from hostname CLIENT
no l2tp tunnel authentication
!
license boot level appxk9 !! License must be appxk9
username cisco@cisco.com password 0 cisco
!
interface Loopback1
ip address 192.168.1.2 255.255.255.0
!
interface FastEthernet0/0
ip address 10.1.1.2 255.255.255.0
negotiation auto
!
ip local pool TEST 10.1.1.3 10.1.1.100
!
interface Virtual-Template1
ip unnumbered Loopback1
peer default ip address pool TEST
ppp authentication chap
!
컨피그레이션을 확인하려면 이 섹션을 사용합니다.
아웃풋 인터프리터 툴(등록 고객 전용)은 특정 show 명령을 지원합니다. show 명령 출력의 분석을 보려면 아웃풋 인터프리터 툴을 사용합니다.
클라이언트 라우터의 컨피그레이션을 확인하려면 다음 명령을 입력합니다.
CLIENT#show vpdn session
L2TP Session Information Total tunnels 1 sessions 1
LocID RemID TunID Username, Intf/ State Last Chg Uniq ID
Vcid, Circuit
9886 40437 48058 1, Vp1 est 00:17:51 17
!! Session up since 17:51 Minutes
CLIENT#show caller ip
Line User IP Address Local Number Remote Number <->
Vp1 SERVER 192.168.1.2 - - in
!! Tunnel Server
CLIENT#ping 192.168.1.2 !! Tunnel Server Reachable
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
CLIENT#show ppp all
Interface/ID OPEN+ Nego* Fail- Stage Peer Address Peer Name
------------ --------------------- -------- --------------- --------------------
Vp1 LCP+ IPCP+ CDPCP- LocalT 192.168.1.2 SERVER
SERVER#show license feature
Feature name Enforcement Evaluation Subscription Enabled RightToUse
appxk9 yes yes no yes yes
!! License must be Active
SERVER#show vpdn session
L2TP Session Information Total tunnels 1 sessions 1
LocID RemID TunID Username, Intf/ State Last Chg Uniq ID
Vcid, Circuit
40437 9886 19763 cisco@cisc..., Vi3.1 est 00:16:56 2
SERVER#show caller ip
Line User IP Address Local Number Remote Number <->
Vi3.1 cisco@cisco.com \
10.1.1.4 - - in
!! IP address of the Client allocated from local address pool (TEST)
SERVER#ping 10.1.1.4 !! Client reachable
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
문제를 트러블슈팅하려면 표준 VPDN/L2TP/PPP 절차를 사용합니다. 그러나 이 디버그 목록도 도움이 될 수 있습니다.
ppp 이벤트 디버그
디버그 ppp 오류
ppp 협상 디버그
디버그 vpdn 오류
vpdn 이벤트 디버그
vpdn l2x 이벤트 디버그
vpdn l2x 오류 디버그
디버그 l2tp 오류
l2tp 이벤트 디버그
디버그 vtemplate 이벤트
디버그 vtemplate 오류
vtemplate 복제 디버그
| 개정 | 게시 날짜 | 의견 |
|---|---|---|
1.0 |
18-Nov-2014
|
최초 릴리스 |