632
C
HAPTER
43: C
ONFIGURING
L2TP
[Router2-ipsec-proposal-l2tptrans]
transform esp-new
[Router2-ipsec-proposal-l2tptrans]
esp-new encryption-algorithm des
[Router2-ipsec-proposal-l2tptrans]
esp-new authentication-algorithm
sha1-hmac-96
[Router2-ipsec-proposal-l2tptrans]
encapsulation-mode transport
f
Create the IPSec policy, use IKE negotiation mode and configure the IKE
pre-shared-key.
[Router2]
ipsec policy l2tpmap 10 isakmp
[Router2-ipsec-policy-l2tpmap-10]
ike pre-shared-key l2tp_ipsec
remote 202.38.160.1
[Router2-ipsec-policy-l2tpmap-10]
match address 101
[Router2-ipsec-policy-l2tpmap-10]
set peer 202.38.160.1
[Router2-ipsec-policy-l2tpmap-10]
set transform l2tptrans
g
Configure the IP address on Serial0 interface and apply the IPSec policy.
[Router2]
interface serial 0
[Router2-Serial0]
ip address 202.38.160.2 255.255.255.0
[Router2-Serial0]
ipsec policy l2tpmap
h
Configure Virtual-Template 1.
[Router2]
interface virtual-template 1
[Router2-Virtual-Template1]
ip address 192.168.0.1 255.255.255.0
[Router2-Virtual-Template1]
ppp authentication-mode chap
[Router2-Virtual-Template1]
remote address pool 1
i
Configure a L2TP group and configure the related attributes.
[Router2]
l2tp enable
[Router2]
l2tp-group 1
[Router2-l2tp1]
tunnel name lns-end
[Router2-l2tp1]
allow l2tp virtual-template 1 remote lac-end
[Router2-l2tp1]
undo tunnel authentication
Troubleshooting L2TP
Before debugging VPN, please confirm that both LAC and LNS are on the same
public network. The connectivity between them can be tested by
ping
command.
Fault 1: The users fail to log in.
Troubleshooting:
1
Fail to establish the tunnel. The reasons are as follows:
■
At LAC side, the LNS address is improperly configured.
■
LNS (usually a router) is not configured to receive L2TP group of the peer of the
tunnel. For details, refer to the description of the
allow l2tp
command.
■
Tunnel authentication fails. If the authentication is configured, make sure that
the tunnel passwords of both sides are consistent with each other.
■
If the local end forcedly disconnects the connection and the peer fails to receive
the corresponding “disconnect” message due to network transmission errors,
a new tunnel connection immediately originated will not be established
successfully. The reason is that the peer can only detect that the link is
disconnected after a certain interval, and the tunnel connections originated by
two sides with the same IP address are not allowed.
2
PPP negotiation fails. The reasons may be:
Содержание 3036
Страница 1: ...http www 3com com 3Com Router Configuration Guide Published March 2004 Part No 10014299 ...
Страница 4: ...VPN 615 RELIABILITY 665 QOS 681 DIAL UP 721 ...
Страница 6: ...2 ABOUT THIS GUIDE ...
Страница 7: ...I GETTING STARTED Chapter 1 3Com Router Introduction Chapter 2 3Com Router User Interface ...
Страница 8: ...4 ...
Страница 16: ...12 CHAPTER 1 3COM ROUTER INTRODUCTION ...
Страница 34: ...30 ...
Страница 60: ...56 CHAPTER 3 SYSTEM MANAGEMENT ...
Страница 88: ...84 CHAPTER 5 CONFIGURING NETWORK MANAGEMENT RouterA interface ethernet 0 RouterA Ethernet0 rmon promiscuous ...
Страница 98: ...94 CHAPTER 6 DISPLAY AND DEBUGGING TOOLS ...
Страница 110: ...106 ...
Страница 114: ...110 CHAPTER 8 INTERFACE CONFIGURATION OVERVIEW ...
Страница 158: ...154 CHAPTER 10 CONFIGURING WAN INTERFACE ...
Страница 168: ...164 ...
Страница 188: ...184 CHAPTER 13 CONFIGURING PPPOE CLIENT ...
Страница 192: ...188 CHAPTER 14 CONFIGURING SLIP Router ip route static 0 0 0 0 0 0 0 0 10 110 0 1 ...
Страница 248: ...244 CHAPTER 16 CONFIGURING LAPB AND X 25 ...
Страница 292: ...288 CHAPTER 18 CONFIGURING HDLC Enable HDLC packet debugging debugging hdlc packet interface type number ...
Страница 320: ...316 ...
Страница 330: ...326 CHAPTER 20 CONFIGURING IP ADDRESS ...
Страница 362: ...358 CHAPTER 21 CONFIGURING IP APPLICATION ...
Страница 374: ...370 CHAPTER 23 CONFIGURING IP COUNT ...
Страница 406: ...402 CHAPTER 25 CONFIGURING DLSW ...
Страница 408: ...404 ...
Страница 452: ...448 CHAPTER 29 CONFIGURING OSPF ...
Страница 482: ...478 CHAPTER 30 CONFIGURING BGP ...
Страница 494: ...490 CHAPTER 31 CONFIGURING IP ROUTING POLICY ...
Страница 502: ...498 ...
Страница 508: ...504 CHAPTER 33 IP MULTICAST ...
Страница 514: ...510 CHAPTER 34 CONFIGURING IGMP ...
Страница 526: ...522 CHAPTER 36 CONFIGURING PIM SM ...
Страница 528: ...524 ...
Страница 532: ...528 CHAPTER 37 CONFIGURING TERMINAL ACCESS SECURITY ...
Страница 550: ...546 CHAPTER 38 CONFIGURING AAA AND RADIUS PROTOCOL ...
Страница 590: ...586 CHAPTER 40 CONFIGURING IPSEC ...
Страница 599: ...IX VPN Chapter 42 Configuring VPN Chapter 43 Configuring L2TP Chapter 44 Configuring GRE ...
Страница 600: ...596 ...
Страница 638: ...634 CHAPTER 43 CONFIGURING L2TP ...
Страница 649: ...X RELIABILITY Chapter 45 Configuring a Standby Center Chapter 46 Configuring VRRP ...
Страница 650: ...646 ...
Страница 666: ...662 ...
Страница 670: ...666 CHAPTER 47 QOS OVERVIEW ...
Страница 700: ...696 CHAPTER 49 CONGESTION MANAGEMENT ...
Страница 706: ...702 CHAPTER 50 CONGESTION AVOIDANCE ...
Страница 707: ...XII DIAL UP Chapter 51 Configuring DCC Chapter 52 Configuring Modem ...
Страница 708: ...704 ...
Страница 762: ...758 CHAPTER 52 CONFIGURING MODEM ...