也谈本本IP更换方法:

也谈本本IP更换方法:

netsh interface ipv4 set address name=本地连接 source=static addr=10.102.10.215 mask=255.255.0.0 gateway=10.102.10.2 gwmetric=0>nul
netsh interface ipv4 set dns name=本地连接 source=static addr=10.105.10.18 register=PRIMARY>nul
--netsh interface ipv4 add dns name=本地连接 addr=10.105.10.18 index=2>nul

win7如上。

xp 将ipv4->ip

原文地址:https://www.cnblogs.com/mikalshao/p/2092360.html