rem 改变双网卡的跃点,win10会自动改回,用下面的BAT代码,一分钟更改一次,保持两个网卡跃点相同
@echo off
:aa
choice /t 60 /d y /n >nul
route change 0.0.0.0 mask 0.0.0.0 192.168.104.254 METRIC 30
route add 0.0.0.0 mask 0.0.0.0 192.168.31.1 METRIC 60
goto bb
:bb
choice /t 60 /d y /n >nul
route change 0.0.0.0 mask 0.0.0.0 192.168.2.1 METRIC30
route add 0.0.0.0 mask 0.0.0.0 192.168.31.1 METRIC 50
goto aa
rem https://blog.csdn.net/qq_41746091/article/details/102939825