You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 21, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 21, 2019. It is now read-only.
$ /usr/sbin/networksetup -getinfo Wi-Fi
DHCP Configuration
IP address: 192.168.57.166
Subnet mask: 255.255.255.0
Router: 192.168.57.1
Client ID:
IPv6: Automatic
IPv6 IP address: none
IPv6 Router: none
Wi-Fi ID: xx:xx:Xx:cd:22:02
我公司是禁止二级路由的,应该会有影响 VRouter 使用的吧,绑定 MAC 地址和 IP 的路由器才能上网
在 2017年6月28日 下午7:24:40, icymind (notifications@github.com) 写到:
我应该找到bug源头了. 再麻烦你把 /usr/sbin/networksetup -getinfo Wi-Fi的整个输出贴出来吧, 谢谢
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AC_jvQ5leqGMc8lcEfzcU90tRcv_jFMSks5sIjf4gaJpZM4OHvxf>
.
Activity
lanx-x commentedon Jun 28, 2017
切换失败有提示吗? 每次都会失败吗?
切换成功的话, dns切成10.19.28.37是预期的结果.
可否把切换前和切换后的
netstat -nr命令输出贴出来?EkkoG commentedon Jun 28, 2017
失败没有提示,每次都是失败的
netstat -nr 输出结果:
切换后.txt
切换前.txt
lanx-x commentedon Jun 28, 2017
退出VRouter, 然后先用以下命令恢复系统网关:
恢复后再试试VRouter, 看看能不能正常切换
EkkoG commentedon Jun 28, 2017
还是不能切换
netstat -nr 输出:
切换后.txt
切换前.txt
lanx-x commentedon Jun 28, 2017
按这个输出判断, 切换已经成功了. 默认路由已经从192.168.57.1切换成了VRouter的地址.
你是从哪里判断失败了呢?
如果是因为不能上网, 在默认路由和DNS都是10.19.28.37的情况下, 请依次排除:
EkkoG commentedon Jun 28, 2017
切换后
$ /usr/sbin/networksetup -getinfo Wi-Fi | grep Router
Router: 192.168.57.1
IPv6 Router: none
并且不能上网
使用 dig 提示超时
VRouter IP 为 192.168.57.114
lanx-x commentedon Jun 28, 2017
我应该找到bug源头了. 再麻烦你把
/usr/sbin/networksetup -getinfo Wi-Fi的整个输出贴出来吧, 谢谢EkkoG commentedon Jun 28, 2017
lanx-x commentedon Jun 28, 2017
无法恢复系统默认路由的bug已经在v0.1.1中修复.
至于你无法上网的问题, 可能就在于贵司的政策了. 如果使用家里的wifi还不行, 请再反馈
EkkoG commentedon Jun 28, 2017
嗯,我猜是路由器限制的问题,我回去家里再看看
lanx-x commentedon Jun 28, 2017
如果你可以申请到IP, 可以把Vrouter的mac地址提交给网管 😄
EkkoG commentedon Jun 28, 2017