V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
huntley

关于 zerotier 和软路由的问题

  •  
  •   huntley · May 18, 2022 · 1571 views
    This topic created in 1440 days ago, the information mentioned may be changed or developed.
    我家的网络结构是这样的:电信光猫拨号 - R4S(openwrt) - linksys velop - 交换机 - 其他 velop
    R4S 用来科学上网, 用 velop 来 mesh 组网把各楼层和房间连在一个局域网内。

    因为 R4S 是 192.168.2.0/24 段的,而 velop 组的 mesh 网络 lan 口是在 10.171.1.0/24 段的,所以我在 R4S 上设置好 zerotier 后,从外网只能访问到 R4S ,而无法访问 velop 网络下面的所有设备。

    请问这种情况应该怎么办?
    Supplement 1  ·  May 19, 2022
    把 velop 改成 ap mode 就好了。光猫懒得折腾了。谢谢各位!
    12 replies    2022-05-19 08:37:48 +08:00
    ggf
        1
    ggf  
       May 18, 2022
    静态路由蟹蟹
    ggf
        2
    ggf  
       May 18, 2022
    其实 zt web controller 是可以 add route 的
    huntley
        3
    huntley  
    OP
       May 18, 2022
    @ggf 请问是把 velop 设置成静态 IP 吗
    EVJohn
        4
    EVJohn  
       May 18, 2022
    为啥要多加一层 nat
    huntley
        5
    huntley  
    OP
       May 18, 2022
    @EVJohn 房子有点大,网线布置得不好,导致 velop 路由器隔远了相互之间接受不到信号,无法无线 mesh ,然后我就用这种方式组有线的了。
    EVJohn
        6
    EVJohn  
       May 18, 2022
    config route
    EVJohn
        7
    EVJohn  
       May 18, 2022
    config route
    option interface 'lan'
    option target '10.171.1.0'
    option netwrok '255.255.255.0'
    option gateway '192.168.2.1'
    EVJohn
        8
    EVJohn  
       May 18, 2022
    velop 路由器不能设定为 ap mode 吗,dhcp 服务移交给 r4s
    Kiriya
        9
    Kiriya  
       May 18, 2022
    光猫改桥接-R4S 拨号并将网段改为 10.171.1.0/24 -linksys velop 关闭 DHCP 这样可以减少 2 层 NAT ,增加打洞效率
    huntley
        10
    huntley  
    OP
       May 19, 2022
    @Kiriya 请问如何能获得光猫的超级密码?
    huntley
        11
    huntley  
    OP
       May 19, 2022
    @EVJohn 可以,之前没想到这点。
    Kiriya
        12
    Kiriya  
       May 19, 2022
    搜索光猫型号超级密码获取
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3632 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 10:47 · PVG 18:47 · LAX 03:47 · JFK 06:47
    ♥ Do have faith in what you're doing.