跳转到内容

修改windows的ip地址

来自FC

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地址

记得使用英文输入法输入