路由表更改
路由表更改
@echo off
:: 删除原有路由表
route DELETE 0.0.0.0
:: 添加路由表
:: route ADD <网段> MASK <掩码> <网关>
route ADD 10.60.0.0 MASK 255.255.252.0 10.60.32.1
route ADD 0.0.0.0 MASK 0.0.0.0 192.168.43.1
@echo off
:: 删除原有路由表
route DELETE 0.0.0.0
:: 添加路由表
:: route ADD <网段> MASK <掩码> <网关>
route ADD 10.60.0.0 MASK 255.255.252.0 10.60.32.1
route ADD 0.0.0.0 MASK 0.0.0.0 192.168.43.1