远程协助
当前位置:重庆拓磊计算机运营维护中心 > 文档中心 > 网络技术 >
标题:华为路由器上L2TP的配置重庆it外包公司    日期:2020-02-11

   华为路由器上L2TP的配置
  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

重庆企业数据加密服务重庆IT外包公司
下一篇:宽带路由器死机掉线问题深度分析重庆网络存储服务器

联系我们
  • 客服热线:023-63522929(7 x 24h)
  • 在线客服:
  • 微信公众号 官方微博