[ ]设置IP、DNS、网关
>netsh interface ip set address name="本地连接" source=static addr=192.168.132.5 mask=255.255.255.0
>netsh interface ip set address name="本地连接" gateway=192.168.132.1 gwmetric=0
>netsh interface ip set dns name="本地连接" source=static addr=192.168.132.1 register=PRIMARY
>netsh interface ip set wins name="本地连接" source=static addr=none
[ ]查看IP、DNS、网关
>netsh interface ip show address
****\
| 文章作者 | 明哥 |
| 文章地址 | https://www.pvcreate.com/index.php/archives/30/ |
| 创建时间 | 2015-03-12 |
| 关注订阅 | 微信订阅号 |
| 开源项目 | https://gitee.com/lookingdreamer |
| 工具市场 | https://gitee.com/lookingdreamer/SPPPOTools |