zoukankan      html  css  js  c++  java
  • NAS-Initiated模式L2TP隧道配置(H3C)

    ------------恢复内容开始------------
    参考链接:https://www.h3c.com/cn/d_201512/903348_30005_0.htm
    http://www.h3c.com/cn/d_201907/1210262_30005_0.htm

     

    <lac>dis cur
    #
    version 7.1.075, Alpha 7571

    sysname lac

    interface Virtual-Template1
    ppp authentication-mode chap
    #
    interface GigabitEthernet0/0
    ip address 1.1.2.1 255.255.255.0

    interface GigabitEthernet0/1
    pppoe-server bind virtual-template 1

    domain name system
    authentication ppp none

    local-user vpdnuser class network
    password cipher $c$3$cAsM5hB4339MrsyBqD2QiSLRRMohqXFm
    service-type ppp
    authorization-attribute user-role network-operator
    #
    l2tp-group 1 mode lac
    lns-ip 1.1.2.2
    user fullusername vpdnuser
    undo tunnel authentication
    tunnel name LAC

    l2tp enable

    [lns]dis cur
    #
    version 7.1.075, Alpha 7571
    #
    sysname lns
    #
    ip pool aaa 192.168.0.10 192.168.0.20
    ip pool aaa gateway 192.168.0.1
    #

    interface Virtual-Template1
    ppp authentication-mode chap domain system
    remote address pool aaa
    #
    interface NULL0
    #
    interface GigabitEthernet0/0
    port link-mode route
    combo enable copper
    ip address 1.1.2.2 255.255.255.0

    domain name system
    authentication ppp local

    local-user vpdnuser class network
    password cipher $c$3$0xnVh0D4srYQnQW1/t6ZWd7NHErYgn9S
    service-type ppp
    authorization-attribute user-role network-operator
    #
    l2tp-group 1 mode lns
    allow l2tp virtual-template 1 remote LAC
    undo tunnel authentication
    tunnel name LNS
    #
    l2tp enable

    物理主机宽带拨号:

     

     

     

     

     

     

    [lns]dis l2tp session
    LocalSID RemoteSID LocalTID State
    40190 19945 19620 Established
    [lns]dis l2tp tu
    [lns]dis l2tp tunnel
    LocalTID RemoteTID State Sessions RemoteAddress RemotePort RemoteName
    19620 13016 Established 1 1.1.2.1 1701 LAC

    ------------恢复内容结束------------感谢恢复;刚刚桥接到自己物理网卡 电脑蓝屏了 。。。

  • 相关阅读:
    【web安全】浅谈web安全之XSS
    【css】浅谈BFC
    nodejs笔记一--模块,全局process对象;
    逼真打字机效果;
    深入理解CSS3 animation的steps
    网址链接收藏
    用hoverclock插件实现HTML5时钟
    JS多种方法实现随机颜色;
    canvas实现跟随鼠标旋转的箭头
    封装insertAfter、addClass、格式化时间
  • 原文地址:https://www.cnblogs.com/paddingtoneyes/p/13541228.html
Copyright © 2011-2022 走看看