首页 > Windows开发 > 详细

windows 网卡配置的设置命令

时间:2018-05-07 22:19:31      阅读:221      评论:0      收藏:0      [点我收藏+]

(1)设置为DHCP自动分配

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

netsh interface ip set dns "本地连接"  dhcp

(2) 设置为静态IP信息

netsh interface ip set address "本地连接" static  10.10.2.1 255.255.255.0 10.10.2.254

netsh interface ip set dns "本地连接" static 114.114.114.114

netsh interface ip add dns "本地连接" 8.8.8.8 

(3)查看当前的IP配置信息

netsh interface ip show address/config/dns

(4)查看windows的网络配置文件

netsh -c interface dump 

windows 网卡配置的设置命令

原文:https://www.cnblogs.com/mountain2011/p/9005047.html

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