双路由时用的着。
我本地 有线 是电信,wifi 是联通。
最近几天不能访问 HK 的服务器,
发现 GFW 只是 blocked 电信,联通 能正常访问,用这个方法可以方便切换出口:
Route Print -4
#我本机 Route Print -4 | findstr Wireless is 27
netsh interface ipv4 set interface 27 metric=20 #比 eth0 metric 小,就是 wifi 优先
netsh interface ipv4 set interface 27 metric=300 #比 eth0 metric 大,就是 eth0 优先
