netsh interface ipv4 set address  "以太网" static 192.168.1.2 255.255.255.0 192.168.1.1
netsh interface ipv4 set dns "以太网" static 114.114.114.114
netsh interface ipv4 add dns "以太网" 223.5.5.5 index=2

netsh interface ipv4 add address "以太网" 192.168.2.10 255.255.255.0

netsh interface ipv4 set address  "以太网" dhcp

netsh interface ipv4 set dns "以太网" dhcp

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐