HP VSR1000 Layer 2 - Wan Access Configuration Manual page 30

Virtual services router
Table of Contents

Advertisement

# Create L2TP group 1 in LAC mode, configure the local tunnel name as LAC, specify PPP user
vpdnuser as the condition for the LAC to initiate tunneling requests, and specify the LNS IP address
as 1.1.2.2.
[LAC] l2tp-group 1 mode lac
[LAC-l2tp1] tunnel name LAC
[LAC-l2tp1] user fullusername vpdnuser
[LAC-l2tp1] lns-ip 1.1.2.2
# Enable tunnel authentication, and specify the tunnel authentication key as aabbcc.
[LAC-l2tp1] tunnel authentication
[LAC-l2tp1] tunnel password simple aabbcc
[LAC-l2tp1] quit
2.
Configure the LNS:
# Configure IP addresses for the interfaces. (Details not shown.)
# Create a local user named vpdnuser, set the password, and enable the PPP service.
<LNS> system-view
[LNS] local-user vpdnuser class network
[LNS-luser-network-vpdnuser] password simple Hello
[LNS-luser-network-vpdnuser] service-type ppp
[LNS-luser-network-vpdnuser] quit
# Configure local authentication for PPP users in ISP domain system.
[LNS] domain system
[LNS-isp-system] authentication ppp local
[LNS-isp-system] quit
# Enable L2TP.
[LNS] l2tp enable
# Create interface Virtual-Template 1, configure its IP address as 192.168.0.1/24 and PPP
authentication as CHAP, and specify 192.168.0.2 as the IP address to be allocated to the PPP
user.
[LNS] interface virtual-template 1
[LNS-virtual-template1] ip address 192.168.0.1 255.255.255.0
[LNS-virtual-template1] ppp authentication-mode chap domain system
[LNS-virtual-template1] remote address 192.168.0.2
[LNS-virtual-template1] quit
# Create L2TP group 1 in LNS mode, configure the local tunnel name as LNS, and specify
Virtual-Template 1 for receiving calls from a specified LAC.
[LNS] l2tp-group 1 mode lns
[LNS-l2tp1] tunnel name LNS
[LNS-l2tp1] allow l2tp virtual-template 1 remote LAC
# Enable tunnel authentication, and specify the tunnel authentication key as aabbcc.
[LNS-l2tp1] tunnel authentication
[LNS-l2tp1] tunnel password simple aabbcc
[LNS-l2tp1] quit
3.
On the remote system, enter vpdnuser as the username and Hello as the password in the dial-up
network window to dial a connection.
26

Advertisement

Table of Contents
loading

Table of Contents