不同网段的远程控制脚本
生活随笔
收集整理的這篇文章主要介紹了
不同网段的远程控制脚本
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
rem start of the file
@echo off
set xx= xxx.xxx.xxx.xxx set default=默認另一網段網關 route -f
route add -p 0.0.0.0 mask 0.0.0.0 %default% Metric 20
route add -p 網段1(ip地址)mask 255.255.240.0 %xx% Metric 10
route add -p 網段2(ip地址)mask 255.255.240.0 %xx% Metric 10
route add -p? 網段3(ip地址)mask 255.255.248.0 %xx% Metric 10
route add -p? 網段4(ip地址)mask 255.255.192.0 %xx% Metric 10
rem end of the file
@echo off
set xx= xxx.xxx.xxx.xxx set default=默認另一網段網關 route -f
route add -p 0.0.0.0 mask 0.0.0.0 %default% Metric 20
route add -p 網段1(ip地址)mask 255.255.240.0 %xx% Metric 10
route add -p 網段2(ip地址)mask 255.255.240.0 %xx% Metric 10
route add -p? 網段3(ip地址)mask 255.255.248.0 %xx% Metric 10
route add -p? 網段4(ip地址)mask 255.255.192.0 %xx% Metric 10
rem end of the file
轉載于:https://blog.51cto.com/joysuny/44033
總結
以上是生活随笔為你收集整理的不同网段的远程控制脚本的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 想要 24 小时自学编程,那是不可能的,
- 下一篇: Image Control