V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
superdotcom
V2EX  ›  问与答

小白请教一个关于三个路由互通的问题

  •  
  •   superdotcom · 2021-04-24 00:36:28 +08:00 · 1131 次点击
    这是一个创建于 1069 天前的主题,其中的信息可能已经有所发展或是发生改变。
    http://img.shaogroup.com/image.php?di=4YFF 外网接 R1——R2 接 R1 的 LAN 口——R3 接 R2 的 LAN 口,如图所示静态路由表,R1 无法 ping 通 R3,请教一下高手,如何补全或修改我的静态路由表?
    5 条回复    2021-04-24 12:21:26 +08:00
    iceheart
        1
    iceheart  
       2021-04-24 09:42:36 +08:00 via Android
    R3lan 口网段改一下
    superdotcom
        2
    superdotcom  
    OP
       2021-04-24 09:45:23 +08:00
    @iceheart 怎么改呢
    liyvhg
        3
    liyvhg  
       2021-04-24 11:11:17 +08:00 via Android
    你这是 3 个 nat,先得把 R2 和 R3 的防火墙 wan 数据包入站和转发打开
    superdotcom
        4
    superdotcom  
    OP
       2021-04-24 11:23:34 +08:00
    @liyvhg 防火墙都是打开了的,R2 的 R3 访问 R1 都没问题,R1 与 R2 互访也没问题,唯一的就是 R1 无法访问 R3,可能静态路由表写的不对
    iceheart
        5
    iceheart  
       2021-04-24 12:21:26 +08:00 via Android
    @superdotcom 别用 192.168.1 网段,改成 192.168.4 网段按你的命名规律
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5362 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 09:13 · PVG 17:13 · LAX 02:13 · JFK 05:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.