windows 脚本修改IP地址、子网掩码、网关以及DNS服务器地址
@netsh interface ip set address name="本地连接" source=static addr=192.168.10.113 mask=255.255.255.0 gateway=192.168.10.2 gwmetric=1
@netsh interface ip set dns name="本地连接" source=static addr=192.168.10.2 //首选DNS
@netsh interface ip add dns name="本地连接" addr=10.211.11.120 index=2 //配用DNS
不解释,都看得懂
相关推荐
ationwork 2020-06-16
DavidChao 2020-01-15
Wytheme 2020-01-19
Charliewolf 2020-01-03
farwang 2008-07-31
tianshijianbing 2008-07-06
dzwcom 2016-12-28
huangzonggui 2019-10-27
huhui0 2008-11-12
leodengzx 2019-10-26
Vi 2019-09-28
MD0 2019-09-26
康源留言 2019-09-11
seaocean 2017-06-12
lsn0LSN 2013-05-04
sjpeter 2017-09-08
swift 2011-10-19