L2TP 中 LAC 之间无法互通

2022-03-12 09:13:06 +08:00
 cp19890714

L2TP 中 LAC 之间无法互通

需求

家庭 MAC 访问公司路由器下的设备.

问题:在 LNS 和 LAC 都配置了静态路由,依然无效。

当前配置

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         gateway         0.0.0.0         UG    100    0        0 eth0
192.168.2.0     0.0.0.0         255.255.255.0   U     100    0        0 eth0
192.168.18.100  0.0.0.0         255.255.255.255 UH    0      0        0 ppp1
192.168.18.101  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.123.0   192.168.18.100  255.255.255.0   UG    0      0        0 ppp1
192.168.124.0   192.168.18.101  255.255.255.0   UG    0      0        0 ppp0
route add -net 192.168.2.0/24 dev ppp5
route add -net 192.168.18.0/24 dev ppp5

当前问题

[root@centos7-test-01 ~]# ping 192.168.123.1
PING 192.168.123.1 (192.168.123.1) 56(84) bytes of data.
64 bytes from 192.168.123.1: icmp_seq=1 ttl=64 time=7.56 ms
64 bytes from 192.168.123.1: icmp_seq=2 ttl=64 time=8.29 ms
64 bytes from 192.168.123.1: icmp_seq=3 ttl=64 time=7.79 ms

[root@centos7-test-01 ~]# ping 192.168.124.1
PING 192.168.124.1 (192.168.124.1) 56(84) bytes of data.
908 次点击
所在节点    问与答
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/839804

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX