windows使用netsh设置静态&动态ip的脚本
摘要:使用netsh设置静态ip地址:@echooffnetshinterfaceipsetaddress"本地连接"static172.24.8...
使用netsh设置静态ip地址:
@echo off
netsh interface ip set address "本地连接" static 172.24.83.239 255.255.255.0 172.24.83.247
netsh interface ip set dns "本地连接" 172.24.102.110
netsh interface ip add dns "本地连接" 172.24.102.110 index=2
pause
使用netsh设置动态ip地址:
@echo off
netsh interface ip set address name="本地连接" source=dhcp
netsh interface ip set dns name="本地连接" source=dhcp
pause
【windows使用netsh设置静态&动态ip的脚本】相关文章:
★ win7系统电脑使用搜狗输入法打字看不到选字框的解决方法
★ Win10系统ie浏览器提示已停止工作怎么办 Win10系统ie11崩溃两种有效简单的解决方法
★ win7系统SQLServer2005提示SQL Server服务无法启动解决方法
★ Win10如何卸载电影和电视?Win10卸载电影和电视的方法教程
★ Win10怎么使用上帝模式清除Dynamer的木马病毒?