首页 > Windows开发 > 详细

switch between dhcp and static ip in windows

时间:2014-03-10 00:04:42      阅读:580      评论:0      收藏:0      [点我收藏+]

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

switch between dhcp and static ip in windows

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!