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 Redstone 3重大更新发布时间曝光 2017年下半年
★ Win10怎么使用上帝模式清除Dynamer的木马病毒?
★ 怎么让电脑桌面背景动起来 win7设置动态背景桌面的方法