@echo off
echo 1.设置IP、子网掩码、网关。
netsh int ip set address 本地连接 static 172.16.100.252 255.255.254.0 172.16.100.189 189
echo 2.设置首选DNS。
netsh int ip set dns 本 static 61.139.2.69
pause
DOS命令设置IP
最新推荐文章于 2023-05-11 18:46:21 发布
@echo off
echo 1.设置IP、子网掩码、网关。
netsh int ip set address 本地连接 static 172.16.100.252 255.255.254.0 172.16.100.189 189
echo 2.设置首选DNS。
netsh int ip set dns 本 static 61.139.2.69
pause