Windows 单网卡配置多 IP 地址
可能需要的命令
1 允许同时开启DHCP和静态地址:
netsh int ipv4 set interface "Ethernet" dhcpstaticipcoexistence=enabled
2 添加一个新的IP地址和网关:
netsh interface ip add address "网卡名称" IP 掩码 网关
3 获取网络连接的名称?netsh interface ip show interfaces
4 删除网关:netsh interface ip delete address...
xiaoxk.com1 min read