L2TP configuration on the Huawei Router

Source: Internet
Author: User

This article describes how to configure the L2TP router, and provides the configuration principle diagram and detailed configuration commands. I believe this article will help you.

Client:
Now create configuration...
Current configuration
!
Version 1.65:
Hostname R1
!
Interface Aux0
Async mode interactive
Encapsulation ppp
!
Interface Ethernet0
Speed auto
Duplex auto
No loopback
!
Interface Ethernet1
Speed auto
Duplex auto
No loopback
!
Interface Serial0
Encapsulation ppp
Ppp pap sent-username Lemon@richinfo.com password 0 *****
Ip address negotiate
!
Interface Serial1
Clock-select DTECLK1
Encapsulation ppp
Shutdown
!
Voice-port 0
!
Voice-port 1
!
End

LAC:
Now create configuration...
Current configuration
!
Version 1.65:
User Lemon@richinfo.com service-type ppp password 0 *****
Vpdn enable
Aaa-enable
Aaa authentication ppp default local
Aaa authentication login default local
Aaa accounting optional
Hostname R2
!
Interface Aux0
Async mode interactive
Encapsulation ppp
!
Interface Ethernet0
Speed auto
Duplex auto
No loopback
!
Interface Ethernet1
Speed auto
Duplex auto
No loopback
!
Interface Ethernet1
Speed auto
Duplex auto
No loopback
!
Interface Serial0
Clock-select DTECLK1
Encapsulation ppp
Ppp authentication pap
!
Interface Serial1
Encapsulation ppp
Ip address 202.103.1.21 255.255.255.252
!
Vpdn-group 1
Request dialin l2tp ip 202.103.1.22 fullusername *****
L2tp tunnel password 0 ****
!
End

LNS:
Now create configuration...
Current configuration
!
Version 1.65:
User Lemon@richinfo.com service-type ppp password 0 *****
Vpdn enable
Ip local pool 1 192.168.1.2 192.168.1.254
Aaa-enable
Aaa authentication ppp default local
Aaa authentication login default local
Aaa accounting optional
Hostname R3
!
Interface Aux0
Async mode interactive
Encapsulation ppp
!
Interface Ethernet0
Speed auto
Duplex auto
No loopback
!
Interface Serial0
No loopback
!
Interface Serial0
Encapsulation ppp
Shutdown
!
Interface Serial1
Clock-select DTECLK1
Encapsulation ppp
Ip address 202.103.1.22 255.255.255.252
!
Interface Virtual-Template1
Encapsulation ppp
Ppp authentication pap
Peer default ip address pool 1
Ip address 192.168.1.1 255.255.255.0
!
Vpdn-group 1
Accept dialin l2tp virtual-template 1 remote R2
L2tp tunnel password 0 ****
!
End
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.