forum.gl-inet.cn

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
    查看: 5395|回复: 19

    MT300N-V2可以用作旁路由吗?

    [复制链接]

    4

    主题

    10

    帖子

    155

    积分

    注册会员

    Rank: 2

    积分
    155
    发表于 2022-2-18 11:38:59 | 显示全部楼层 |阅读模式
    能不能做为旁路由使用,要怎么设置?
    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9846

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9846

    官方人员

    发表于 2022-2-18 14:52:31 | 显示全部楼层
    当然可以
    按照如下拓扑图连接

    我们假定主路由的子网为192.168.1.0/24,网关地址为192.168.1.1
    主路由器下面的客户端将分配到一个192.168.1.x的IP,我们假定MT300N-V2拿到的IP地址为192.168.1.13
    此时,如果你的PC需要通过主路由上网,则将网关地址设置为192.168.1.1,如PC1
    如果你的PC需要通过旁路由MT300N-V2上网,则将网关地址设置为MT300N-V2的IP地址192.168.1.13
    在路由器上的操作如下
    1. 在MT300N-V2 WAN侧最好设置静态IP (非必要步骤,主要是为了保证IP地址不变,如果你明确知道IP地址不会变化,可以不做这一步)


    2. 进入MT300N-V2的高级页面,在启动项中设置防火墙规则即可(重要步骤)
    红框标示的内容如下,注意内容一定要放在exit 0 之前
    1. uci set firewall.@forwarding[1]=forwarding
    2. uci set firewall.@forwarding[1].src='wan'
    3. uci set firewall.@forwarding[1].dest='wan'
    4. uci commit firewall
    5. /etc/init.d/firewall reload
    复制代码




    PC端配置(假设你的PC需要使用旁路由上网),只需要将网关地址设置为路由器的WAN口地址即可



    %3CmxGraphModel%3E%3Croot%3E%3CmxCell%20id%3D%220%22%2F%3E%3CmxCell%20id%3D%221%22%20parent%3D%220%22%2F%3E%3CmxCell%20id%3D%222%22%20value%3D%22%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%E4%B8%BB%E8%B7%AF%E7%94%B1%26lt%3Bbr%26gt%3B%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%E5%AD%90%E7%BD%91%20192.168.1.0%2F24%26lt%3Bbr%26gt%3B%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%E7%BD%91%E5%85%B3%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B%20%26amp%3Bnbsp%3B192.168.1.1%22%20style%3D%22image%3Bhtml%3D1%3Bimage%3Dimg%2Flib%2Fclip_art%2Fnetworking%2FWireless_Router_128x128.png%22%20vertex%3D%221%22%20parent%3D%221%22%3E%3CmxGeometry%20x%3D%22500%22%20y%3D%2280%22%20width%3D%22180%22%20height%3D%22170%22%20as%3D%22geometry%22%2F%3E%3C%2FmxCell%3E%3CmxCell%20id%3D%223%22%20value%3D%22PC1%26lt%3Bbr%26gt%3BIP%E5%9C%B0%E5%9D%80%20192.168.1.11%26lt%3Bbr%26gt%3B%E7%BD%91%E5%85%B3%E5%9C%B0%E5%9D%80%20192.168.1.1%22%20style%3D%22shape%3Dmxgraph.signs.tech.computer%3Bhtml%3D1%3BpointerEvents%3D1%3BfillColor%3D%23000000%3BstrokeColor%3Dnone%3BverticalLabelPosition%3Dbottom%3BverticalAlign%3Dtop%3Balign%3Dcenter%3B%22%20vertex%3D%221%22%20parent%3D%221%22%3E%3CmxGeometry%20x%3D%22240%22%20y%3D%22470%22%20width%3D%2298%22%20height%3D%22100%22%20as%3D%22geometry%22%2F%3E%3C%2FmxCell%3E%3CmxCell%20id%3D%224%22%20value%3D%22%22%20style%3D%22shape%3Dlink%3Bhtml%3D1%3Brounded%3D0%3B%22%20edge%3D%221%22%20parent%3D%221%22%3E%3CmxGeometry%20width%3D%22100%22%20relative%3D%221%22%20as%3D%22geometry%22%3E%3CmxPoint%20x%3D%22260%22%20y%3D%22360%22%20as%3D%22sourcePoint%22%2F%3E%3CmxPoint%20x%3D%22950%22%20y%3D%22350%22%20as%3D%22targetPoint%22%2F%3E%3C%2FmxGeometry%3E%3C%2FmxCell%3E%3CmxCell%20id%3D%225%22%20value%3D%22%22%20style%3D%22endArrow%3Dnone%3Bhtml%3D1%3Brounded%3D0%3B%22%20edge%3D%221%22%20source%3D%222%22%20parent%3D%221%22%3E%3CmxGeometry%20width%3D%2250%22%20height%3D%2250%22%20relative%3D%221%22%20as%3D%22geometry%22%3E%3CmxPoint%20x%3D%22590%22%20y%3D%22300%22%20as%3D%22sourcePoint%22%2F%3E%3CmxPoint%20x%3D%22590%22%20y%3D%22350%22%20as%3D%22targetPoint%22%2F%3E%3C%2FmxGeometry%3E%3C%2FmxCell%3E%3CmxCell%20id%3D%226%22%20value%3D%22PC2%26lt%3Bbr%26gt%3BIP%20%E5%9C%B0%E5%9D%80%20192.168.1.12%26lt%3Bbr%26gt%3B%E7%BD%91%E5%85%B3%E5%9C%B0%E5%9D%80%20192.168.1.13%22%20style%3D%22shape%3Dmxgraph.signs.tech.computer%3Bhtml%3D1%3BpointerEvents%3D1%3BfillColor%3D%23000000%3BstrokeColor%3Dnone%3BverticalLabelPosition%3Dbottom%3BverticalAlign%3Dtop%3Balign%3Dcenter%3B%22%20vertex%3D%221%22%20parent%3D%221%22%3E%3CmxGeometry%20x%3D%22470%22%20y%3D%22470%22%20width%3D%2298%22%20height%3D%22100%22%20as%3D%22geometry%22%2F%3E%3C%2FmxCell%3E%3CmxCell%20id%3D%227%22%20value%3D%22%22%20style%3D%22shape%3Dimage%3BverticalLabelPosition%3Dbottom%3BlabelBackgroundColor%3Ddefault%3BverticalAlign%3Dtop%3Baspect%3Dfixed%3BimageAspect%3D0%3Bimage%3Dhttps%3A%2F%2Fstatic.gl-inet.com%2Fwww%2Fimages%2Fproducts%2Fgl-mt300n-v2%2Fmango_500x500_1.jpg%3B%22%20vertex%3D%221%22%20parent%3D%221%22%3E%3CmxGeometry%20x%3D%22760%22%20y%3D%22430%22%20width%3D%22180%22%20height%3D%22180%22%20as%3D%22geometry%22%2F%3E%3C%2FmxCell%3E%3CmxCell%20id%3D%228%22%20value%3D%22%22%20style%3D%22endArrow%3Dnone%3Bhtml%3D1%3Brounded%3D0%3B%22%20edge%3D%221%22%20parent%3D%221%22%3E%3CmxGeometry%20width%3D%2250%22%20height%3D%2250%22%20relative%3D%221%22%20as%3D%22geometry%22%3E%3CmxPoint%20x%3D%22290%22%20y%3D%22464%22%20as%3D%22sourcePoint%22%2F%3E%3CmxPoint%20x%3D%22290%22%20y%3D%22360%22%20as%3D%22targetPoint%22%2F%3E%3C%2FmxGeometry%3E%3C%2FmxCell%3E%3CmxCell%20id%3D%229%22%20value%3D%22%22%20style%3D%22endArrow%3Dnone%3Bhtml%3D1%3Brounded%3D0%3B%22%20edge%3D%221%22%20parent%3D%221%22%3E%3CmxGeometry%20width%3D%2250%22%20height%3D%2250%22%20relative%3D%221%22%20as%3D%22geometry%22%3E%3CmxPoint%20x%3D%22518.5%22%20y%3D%22466%22%20as%3D%22sourcePoint%22%2F%3E%3CmxPoint%20x%3D%22518.5%22%20y%3D%22362%22%20as%3D%22targetPoint%22%2F%3E%3C%2FmxGeometry%3E%3C%2FmxCell%3E%3CmxCell%20id%3D%2210%22%20value%3D%22%22%20style%3D%22endArrow%3Dnone%3Bhtml%3D1%3Brounded%3D0%3B%22%20edge%3D%221%22%20parent%3D%221%22%3E%3CmxGeometry%20width%3D%2250%22%20height%3D%2250%22%20relative%3D%221%22%20as%3D%22geometry%22%3E%3CmxPoint%20x%3D%22840%22%20y%3D%22466%22%20as%3D%22sourcePoint%22%2F%3E%3CmxPoint%20x%3D%22840%22%20y%3D%22362%22%20as%3D%22targetPoint%22%2F%3E%3C%2FmxGeometry%3E%3C%2FmxCell%3E%3CmxCell%20id%3D%2211%22%20value%3D%22MT300N-V2%26lt%3Bbr%26gt%3BIP%E5%9C%B0%E5%9D%80%20192.168.1.13%26lt%3Bbr%26gt%3B%E7%BD%91%E5%85%B3%E5%9C%B0%E5%9D%80%20192.168.1.1%22%20style%3D%22text%3Bhtml%3D1%3Balign%3Dcenter%3BverticalAlign%3Dmiddle%3Bresizable%3D0%3Bpoints%3D%5B%5D%3Bautosize%3D1%3BstrokeColor%3Dnone%3BfillColor%3Dnone%3B%22%20vertex%3D%221%22%20parent%3D%221%22%3E%3CmxGeometry%20x%3D%22765%22%20y%3D%22565%22%20width%3D%22130%22%20height%3D%2250%22%20as%3D%22geometry%22%2F%3E%3C%2FmxCell%3E%3C%2Froot%3E%3C%2FmxGraphModel%3E


    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    回复

    使用道具 举报

    6

    主题

    44

    帖子

    266

    积分

    中级会员

    Rank: 3Rank: 3

    积分
    266
    发表于 2022-3-2 23:11:03 | 显示全部楼层
    萝卜大侠 发表于 2022-2-18 14:52
    当然可以
    按照如下拓扑图连接

    这项操作怎样在页面上进行呢
    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9846

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9846

    官方人员

    发表于 2022-3-3 09:12:34 | 显示全部楼层
    caijiang 发表于 2022-3-2 23:11
    这项操作怎样在页面上进行呢

    看了一下,拓扑图有些问题,我修正并补充一些细节

    回复

    使用道具 举报

    6

    主题

    44

    帖子

    266

    积分

    中级会员

    Rank: 3Rank: 3

    积分
    266
    发表于 2022-3-3 10:53:47 | 显示全部楼层
    萝卜大侠 发表于 2022-3-3 09:12
    看了一下,拓扑图有些问题,我修正并补充一些细节

    拓扑图是知道,但怎样在系统设置还是不太会
    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9846

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9846

    官方人员

    发表于 2022-3-3 11:43:37 | 显示全部楼层
    caijiang 发表于 2022-3-3 10:53
    拓扑图是知道,但怎样在系统设置还是不太会

    重新添加了一些细节
    回复

    使用道具 举报

    6

    主题

    44

    帖子

    266

    积分

    中级会员

    Rank: 3Rank: 3

    积分
    266
    发表于 2022-3-3 13:29:20 | 显示全部楼层
    萝卜大侠 发表于 2022-3-3 11:43
    重新添加了一些细节

    一些具体页面操作好像还是不太明白,大佬有视频不
    回复

    使用道具 举报

    76

    主题

    2144

    帖子

    9846

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    积分
    9846

    官方人员

    发表于 2022-3-3 14:09:51 | 显示全部楼层
    caijiang 发表于 2022-3-3 13:29
    一些具体页面操作好像还是不太明白,大佬有视频不

    暂时没有视频
    这种硬AP用来做旁路由的作用是什么呢?
    回复

    使用道具 举报

    6

    主题

    44

    帖子

    266

    积分

    中级会员

    Rank: 3Rank: 3

    积分
    266
    发表于 2022-3-3 15:01:29 | 显示全部楼层
    萝卜大侠 发表于 2022-3-3 14:09
    暂时没有视频
    这种硬AP用来做旁路由的作用是什么呢?

    将op服务局域网
    回复

    使用道具 举报

    6

    主题

    44

    帖子

    266

    积分

    中级会员

    Rank: 3Rank: 3

    积分
    266
    发表于 2022-3-3 15:04:14 | 显示全部楼层
    萝卜大侠 发表于 2022-3-3 14:09
    暂时没有视频
    这种硬AP用来做旁路由的作用是什么呢?

    旁路由器的软件包来服务主网
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|gl-inet.cn ( 粤ICP备18130956号 )

    GMT+8, 2024-11-22 00:37 , Processed in 0.023408 second(s), 28 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2021, Tencent Cloud.

    快速回复 返回顶部 返回列表