Created
December 29, 2017 09:59
-
-
Save willwhui/eb4df8c41110f0c10286001be19bb12e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
让两个子网内的设备可以互通访问 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
基本参考:http://vod.sjtu.edu.cn/help/Article_Print.asp?ArticleID=1095
在小米路由器设置允许访问Openwrt路由器
查看当前路由表:
添加静态路由规则,并查看新的路由表:
可见添加成功,自动绑定在eth0.2接口上
按照这里的提示http://www.miui.com/forum.php?mod=redirect&goto=findpost&ptid=2122469&pid=163834045
可以将静态路由设为开机自动配置
在文件末尾追加:
在Openwrt路由器设置允许访问小米路由器
因为可以在luci界面进行设置,就直接设置了。
注意interface要选择Openwrt当初设置成为中继路由时创建的那个接口(wlanxxx)
然而按照上述方法设置好之后,都只能ping通gateway本身
无法ping通子网内的设备。