冰墩墩 发表于 2022-2-18 11:38:59

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

能不能做为旁路由使用,要怎么设置?

萝卜大侠 发表于 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 之前
uci set firewall.@forwarding=forwarding
uci set firewall.@forwarding.src='wan'
uci set firewall.@forwarding.dest='wan'
uci commit firewall
/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


caijiang 发表于 2022-3-2 23:11:03

萝卜大侠 发表于 2022-2-18 14:52
当然可以
按照如下拓扑图连接



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

萝卜大侠 发表于 2022-3-3 09:12:34

caijiang 发表于 2022-3-2 23:11
这项操作怎样在页面上进行呢
看了一下,拓扑图有些问题,我修正并补充一些细节

caijiang 发表于 2022-3-3 10:53:47

萝卜大侠 发表于 2022-3-3 09:12
看了一下,拓扑图有些问题,我修正并补充一些细节

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

萝卜大侠 发表于 2022-3-3 11:43:37

caijiang 发表于 2022-3-3 10:53
拓扑图是知道,但怎样在系统设置还是不太会

重新添加了一些细节

caijiang 发表于 2022-3-3 13:29:20

萝卜大侠 发表于 2022-3-3 11:43
重新添加了一些细节

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

萝卜大侠 发表于 2022-3-3 14:09:51

caijiang 发表于 2022-3-3 13:29
一些具体页面操作好像还是不太明白,大佬有视频不

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

caijiang 发表于 2022-3-3 15:01:29

萝卜大侠 发表于 2022-3-3 14:09
暂时没有视频
这种硬AP用来做旁路由的作用是什么呢?

将op服务局域网

caijiang 发表于 2022-3-3 15:04:14

萝卜大侠 发表于 2022-3-3 14:09
暂时没有视频
这种硬AP用来做旁路由的作用是什么呢?

旁路由器的软件包来服务主网
页: [1] 2
查看完整版本: MT300N-V2可以用作旁路由吗?