不同网段的远程控制脚本
版权声明:原创作品,谢绝转载!否则将追究法律责任。 |
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 本文出自 “joysuny” 博客,谢绝转载! 本文出自 51CTO.COM技术博客 |



joysuny
博客统计信息
热门文章
最新评论
友情链接

