输入以下命令,然后按回车: netsh interface ip set address name=“Ethernet0” static 10.1.2.220 255.255.255.0 10.1.2.1 其中,替换Ethernet0为您的网络适配器的名称,替换10.1.2.xxx为您的静态IP地址、子网掩码和网关。