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