VyOS:L2TPv3 配置后提交失败

网络工程 路由 隧道 l2tp 虚拟的 维奥斯
2021-07-29 14:11:00

我正在尝试熟悉 VyOS(使用 VM),在处理 L2TPv3 时遇到了一些奇怪的事情:在配置 L2TPv3 接口并尝试提交后,出现错误,好像无法创建接口一样!有什么帮助吗?

vyos@vyos# sh interfaces l2tp
+l2tpv3 l2tpeth0 {
+    bridge-group {
+        bridge br0
+    }
+    destination-port 10000
+    encapsulation udp
+    local-ip 172.31.31.2
+    peer-session-id 1
+    peer-tunnel-id 1
+    remote-ip 172.30.30.2
+    session-id 1
+    source-port 10000
+    tunnel-id 1
+}
[edit]
vyos@vyos# commit
[ interfaces l2tpv3 l2tpeth0 ]
RTNETLINK answers: Network is unreachable
RTNETLINK answers: No such device
Cannot find device "l2tpeth0"

[[interfaces l2tpv3 l2tpeth0]] failed
Commit failed
[edit]
vyos@vyos#
vyos@vyos#
1个回答

K,原来我用的那个版本已经不支持了!使用最新的稳定版本,我设法实现了 L2TPv3 隧道并通过它传递流量。