switch between dhcp and static ip in windows

时间:2014-03-10 00:04:42   收藏:0   阅读:582

dhcp:

netsh interface ip set address "本地连接 4" dhcp

ipconfig /release "本地连接 4"
ipconfig /renew "本地连接 4"



static ip:

rem netsh interface ip set address "本地连接 4" static 192.168.0.4 255.255.255.0 192.168.1.1 1
REM netsh interface ip set address "本地连接 4" static 192.168.2.4 255.255.255.0 none
netsh interface ip set address "本地连接 4" static 192.168.2.4 255.255.255.0 none

switch between dhcp and static ip in windows,布布扣,bubuko.com

原文:http://blog.csdn.net/llrraa2010/article/details/20863123

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!