雅那安

拥有正确的价值观,实现自己的人生价值:所作所为有益于人类社会发展。

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

------------恢复内容开始------------
参考链接: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

 

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

posted on 2020-08-21 16:01  雅那安  阅读(931)  评论(0编辑  收藏  举报