手机
当前位置:查字典教程网 >操作系统 >Windows系列 >windows使用netsh设置静态&动态ip的脚本
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系统SQLServer2005提示SQL Server服务无法启动解决方法

win10系统中怎么设置打印纸张的大小?

Win10免费升级到期别怕 未输入密钥进行激活仍有效

Win10不用回收站清空文件的方法

Win10 Redstone 3重大更新发布时间曝光 2017年下半年

win7系统将电脑保护色设置为绿色的方法

Win10一周年更新中全新应用商店有哪些变化?

Win10怎么使用上帝模式清除Dynamer的木马病毒?

怎么让电脑桌面背景动起来 win7设置动态背景桌面的方法

Win10系统怎么怎么设置回收站自动清空?

精品推荐
分类导航