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

 

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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM