开启了服务
建立了虚拟网关
虚拟ip
创建了vpn账号
用inode进行拨号时,出现下面的现象
,
inode 配置好了服务器地址 用户名与密码后,进行连接
发现msr上面的隧道信息是有数据的,但是过了一段时间后,显示失败
用户名与密码都是对的,服务器上用的是认证方式是chap ,认证管理--用户管理里面将ppp前打勾
上面不知道是什么原因?
用inode对一台配置好L2TP的磊科路由器,进行拨号,显示是成功的
请问,这个问题在哪里?
通过网友的方法,我开启debug l2tp 后,all 显示如下,
<B34FRouter1>debug l2tp all
This command is CPU intensive and might affect ongoing services. Are you sure you want to continue? [Y/N]:y
<B34FRouter1>*May 25 13:42:39:053 2024 B34FRouter1 L2TPV2/7/CONTROL-PKT:
Received SCCRQ packet from port 1701 (length=75, Ns=0, Nr=0). Packet content:
c8 02 00 4b 00 00 00 00 00 00 00 00 80 08 00 00
00 00 00 01 80 08 00 00 00 02 01 00 80 09 00 00
00 07 76 70 6e 00 0c 00 00 00 08 48 75 61 57 65
69 80 0a 00 00 00 03 00 00 00 01 80 08 00 00 00
09 00 01 80 08 00 00 00 0a 00 80
*May 25 13:42:39:053 2024 B34FRouter1 L2TPV2/7/EVENT:
Parsed Message-Type AVP: 1.
*May 25 13:42:39:054 2024 B34FRouter1 L2TPV2/7/EVENT:
Parsed Protocol-Version AVP. Version=1, Revision=0.
*May 25 13:42:39:054 2024 B34FRouter1 L2TPV2/7/EVENT:
Parsed Host-Name AVP: vpn.
*May 25 13:42:39:054 2024 B34FRouter1 L2TPV2/7/EVENT:
Parsed Vendor-Name AVP: HuaWei.
*May 25 13:42:39:054 2024 B34FRouter1 L2TPV2/7/EVENT:
Parsed Framing-Capabilities AVP: 1.
*May 25 13:42:39:054 2024 B34FRouter1 L2TPV2/7/EVENT:
Parsed Assigned-Tunnel-ID AVP: 1.
*May 25 13:42:39:054 2024 B34FRouter1 L2TPV2/7/EVENT:
Parsed Receive-Window-Size AVP: 128.
*May 25 13:42:39:054 2024 B34FRouter1 L2TPV2/7/EVENT:
TunnelID=34837: Processed invalid SCCRQ packet in Idle state, sent StopCCN packet to the peer and deleted the local tunnel.
*May 25 13:42:39:054 2024 B34FRouter1 L2TPV2/7/CONTROL-PKT:
Encapsulated Message-Type AVP:
80 08 00 00 00 00 00 04
*May 25 13:42:39:054 2024 B34FRouter1 L2TPV2/7/CONTROL-PKT:
Encapsulated Assigned-Tunnel-ID AVP:
80 08 00 00 00 09 88 15
*May 25 13:42:39:054 2024 B34FRouter1 L2TPV2/7/CONTROL-PKT:
Encapsulated Result-Code AVP:
80 51 00 00 00 01 00 02 00 03 4f 6e 65 20 6f 66
20 74 68 65 20 66 69 65 6c 64 20 76 61 6c 75 65
73 20 77 61 73 20 6f 75 74 20 6f 66 20 72 61 6e
67 65 20 6f 72 20 72 65 73 65 72 76 65 64 20 66
69 65 6c 64 20 77 61 73 20 6e 6f 6e 2d 7a 65 72
6f
*May 25 13:42:40:054 2024 B34FRouter1 L2TPV2/7/CONTROL-PKT:
Received ZLB-ACK packet from port 1701 (length=12, Ns=1, Nr=1). Packet content:
c8 02 00 0c 00 00 00 00 00 01 00 01
*May 25 13:42:40:054 2024 B34FRouter1 L2TPV2/7/ERROR:
Received invalid packet from port 1701, and dropped it.
*May 25 13:42:40:064 2024 B34FRouter1 L2TPV2/7/EVENT:
TunnelID=34837: Resent the packet for 1 times.
*May 25 13:42:40:072 2024 B34FRouter1 L2TPV2/7/CONTROL-PKT:
Received ZLB-ACK packet from port 1701 (length=12, Ns=1, Nr=1). Packet content:
c8 02 00 0c 00 00 00 00 00 01 00 01
*May 25 13:42:40:072 2024 B34FRouter1 L2TPV2/7/ERROR:
Received invalid packet from port 1701, and dropped it.
*May 25 13:42:42:064 2024 B34FRouter1 L2TPV2/7/EVENT:
TunnelID=34837: Resent the packet for 2 times.
*May 25 13:42:42:073 2024 B34FRouter1 L2TPV2/7/CONTROL-PKT:
Received ZLB-ACK packet from port 1701 (length=12, Ns=1, Nr=1). Packet content:
c8 02 00 0c 00 00 00 00 00 01 00 01
*May 25 13:42:42:073 2024 B34FRouter1 L2TPV2/7/ERROR:
Received invalid packet from port 1701, and dropped it.
*May 25 13:42:46:064 2024 B34FRouter1 L2TPV2/7/EVENT:
TunnelID=34837: Resent the packet for 3 times.
*May 25 13:42:46:071 2024 B34FRouter1 L2TPV2/7/CONTROL-PKT:
Received ZLB-ACK packet from port 1701 (length=12, Ns=1, Nr=1). Packet content:
c8 02 00 0c 00 00 00 00 00 01 00 01
*May 25 13:42:46:071 2024 B34FRouter1 L2TPV2/7/ERROR:
Received invalid packet from port 1701, and dropped it.
*May 25 13:42:54:064 2024 B34FRouter1 L2TPV2/7/EVENT:
TunnelID=34837: Resent the packet for 4 times.
*May 25 13:42:54:072 2024 B34FRouter1 L2TPV2/7/CONTROL-PKT:
Received ZLB-ACK packet from port 1701 (length=12, Ns=1, Nr=1). Packet content:
c8 02 00 0c 00 00 00 00 00 01 00 01
*May 25 13:42:54:072 2024 B34FRouter1 L2TPV2/7/ERROR:
Received invalid packet from port 1701, and dropped it.
*May 25 13:43:10:064 2024 B34FRouter1 L2TPV2/7/EVENT:
TunnelID=34837: Delay-Cleanup timer expired and deleted the local tunnel.
从上面找到下面的信息,
----------------------------------------------------------------------------------------------------------------------------------------------
*May 25 13:42:39:054 2024 B34FRouter1 L2TPV2/7/EVENT: TunnelID=34837: Processed invalid SCCRQ packet in Idle state, sent StopCCN packet to the peer and deleted the local tunnel.
----------------------------------------------------------------------------------------------------------------------------------------------
翻译过来是
在空闲(Idle)状态下,路由器(B34FRouter1)收到了一个无效的SCCRQ(Start Control Connection Request)数据包。 路由器发送了一个StopCCN(Stop Control Connection Notification)数据包给对端,并删除了本地的隧道。
----------------------------------------------------------------------------------------------------------------------------------------------
如何排查?
请高手分析一下不成功原因是什么?
**************************************
成功了!!!!!!!!!!!!!!!
原因找到了!!!!!!!!!!!!!!!!
inode 高级设置里面,这个需要改成chap
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论