跳转到内容

修改windows的ip地址

来自FC
FC留言 | 贡献2024年9月3日 (二) 23:32的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

cmd下

查看网络接口名称:netsh interface ipv4 show interfaces

查看各个接口详细信息:ipconfig/all

修改IP地址:netsh interface ipv4 set address "接口名称" static IP地址 子网掩码

修改IP地址和网关:netsh interface ipv4 set address "接口名称" static IP地址 子网掩码 网关

修改DNS:netsh interface ipv4 set dns "接口名称" static DNS地址

记得使用英文输入法输入