使用cmd命令修改IP地址

GPS平台、网站建设、软件开发、系统运维,找森大网络科技!
http://cnsendnet.taobao.com
来自森大科技官方博客
http://www.cnsendblog.com/index.php/?p=661

::设置IP、子网掩码、默认网关
netsh interface ip set address name="本地连接" source = static addr = 192.168.2.199 gateway = 192.168.2.1 mask=255.255.255.0
::设置首选DNS服务器
netsh interface ip add dns name="本地连接" addr=192.168.2.1
pause

猜你喜欢

转载自www.cnblogs.com/cnsend/p/12944673.html