superdotcom
V2EX  ›  问与答

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

  •  
  •   superdotcom · Apr 24, 2021 · 1680 views
    This topic created in 1867 days ago, the information mentioned may be changed or developed.
    http://img.shaogroup.com/image.php?di=4YFF 外网接 R1——R2 接 R1 的 LAN 口——R3 接 R2 的 LAN 口,如图所示静态路由表,R1 无法 ping 通 R3,请教一下高手,如何补全或修改我的静态路由表?
    5 replies    2021-04-24 12:21:26 +08:00
    iceheart
        1
    iceheart  
       Apr 24, 2021 via Android
    R3lan 口网段改一下
    superdotcom
        2
    superdotcom  
    OP
       Apr 24, 2021
    @iceheart 怎么改呢
    liyvhg
        3
    liyvhg  
       Apr 24, 2021 via Android
    你这是 3 个 nat,先得把 R2 和 R3 的防火墙 wan 数据包入站和转发打开
    superdotcom
        4
    superdotcom  
    OP
       Apr 24, 2021
    @liyvhg 防火墙都是打开了的,R2 的 R3 访问 R1 都没问题,R1 与 R2 互访也没问题,唯一的就是 R1 无法访问 R3,可能静态路由表写的不对
    iceheart
        5
    iceheart  
       Apr 24, 2021 via Android
    @superdotcom 别用 192.168.1 网段,改成 192.168.4 网段按你的命名规律
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4780 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 09:46 · PVG 17:46 · LAX 02:46 · JFK 05:46
    ♥ Do have faith in what you're doing.