1、配置案例://www.yolosolive.com/cn/d_202310/1951320_30005_0.htm#_Toc148622654
2、如圖,配置完成後嚐試使用inode登錄,結果一直連接登錄不上。
3、這是debug的結果,求解謝謝!
*Feb 26 16:18:06:036 2024 LAC L2TPV2/7/CONTROL-PKT:
Received Hello packet from port 1701 (length=20, Ns=1, Nr=1). Packet content:
c8 02 00 14 00 00 00 00 00 01 00 01 80 08 00 00
00 00 00 06
*Feb 26 16:18:06:036 2024 LAC L2TPV2/7/ERROR:
Received invalid packet from port 1701, and dropped it.
*Feb 26 16:18:09:035 2024 LAC L2TPV2/7/ERROR:
The packet is invalid, because it is not a SCCRQ or StopCCN packet but the tunnel ID in the packet header is invalid.
*Feb 26 16:18:09:035 2024 LAC L2TPV2/7/CONTROL-PKT:
Received Hello packet from port 1701 (length=20, Ns=1, Nr=1). Packet content:
c8 02 00 14 00 00 00 00 00 01 00 01 80 08 00 00
00 00 00 06
*Feb 26 16:18:09:035 2024 LAC L2TPV2/7/ERROR:
Received invalid packet from port 1701, and dropped it.
*Feb 26 16:18:12:037 2024 LAC L2TPV2/7/ERROR:
The packet is invalid, because it is not a SCCRQ or StopCCN packet but the tunnel ID in the packet header is invalid.
*Feb 26 16:18:12:037 2024 LAC L2TPV2/7/CONTROL-PKT:
Received Hello packet from port 1701 (length=20, Ns=1, Nr=1). Packet content:
c8 02 00 14 00 00 00 00 00 01 00 01 80 08 00 00
00 00 00 06
1、拓撲

2、配置
<LAC>dis cu
#
interface Virtual-Template1
ppp authentication-mode chap domain system
#
interface GigabitEthernet0/0/0
port link-mode route
combo enable copper
ip address 192.168.56.111 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-mode route
combo enable copper
ip address 1.1.2.1 255.255.255.0
pppoe-server bind virtual-template 1
#
ip route-static 0.0.0.0 0 1.1.2.2
#
domain name system
authentication ppp local
#
domain default enable system
#
local-user vpnuser class network
password cipher $c$3$jfXFSfdG+XB0RraBb2CsEaEoOGBpn3oeVw==
service-type ppp
#
l2tp-group 1 mode lac
lns-ip 1.1.2.2
user fullusername vpnuser
tunnel name LAC
tunnel password cipher $c$3$Oci546bblkK68dwtOqr7npzuJm4ZFVuq9Q==
#
l2tp enable
#
return
<LNS>dis cu
#
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
ip address 192.168.0.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-mode route
combo enable copper
ip address 1.1.2.2 255.255.255.0
#
security-zone name Trust
import interface GigabitEthernet1/0/2
#
security-zone name Untrust
import interface GigabitEthernet1/0/1
import interface Virtual-Template1
#
ip route-static 192.168.56.0 24 192.168.0.10
#
domain system
authentication ppp local
#
local-user vpnuser class network
password cipher $c$3$4QWgHLkJ7ygKQY9TXbNf3S6kXWRu+CpKIw==
service-type ppp
authorization-attribute user-role network-operator
#
l2tp-group 1 mode lns
allow l2tp virtual-template 1 remote LAC
tunnel name LNS
tunnel password cipher $c$3$NxXXAlJ59gb2Hb/u3MP3MUKzmAuEdz15AA==
#
l2tp enable
#
security-policy ip
rule 0 name test
action pass
#
return
3、連接(隧道密碼加不加都連不上)



(0)
(0)
老師,錯誤的接口是指什麼?
老師,錯誤的接口是指什麼?
按照案例一步一步再配置一邊吧,好好看看案例
(0)
就是按照案例一步一步配置的,您看出哪裏有問題了嗎?
就是按照案例一步一步配置的,您看出哪裏有問題了嗎?
親~登錄後才可以操作哦!
確定你的郵箱還未認證,請認證郵箱或綁定手機後進行當前操作
舉報
×
侵犯我的權益
×
侵犯了我企業的權益
×
抄襲了我的內容
×
原文鏈接或出處
誹謗我
×
對根叔社區有害的內容
×
不規範轉載
×
舉報說明
也不行……