更新时间:2022-05-17 10:41:21
我一直使用静态IP地址,近日为了规范管理,部分领导的IP地址需要修改。因为众所周知的一些因素,远程修改IP地址是比较可行的方案。
测试环境:
VMware 5.5
两台Windows XP Pro (计算机名分别为:xp1和xp2)
psexec.exe (pstools中的一个工具,工具作者:Mark Russinovich)
netsh (XP自带的工具)
XP2是待修改IP的主机,原始配置如下,
C:/Documents and Settings/普通会员>ipconfig/all
Windows IP Configuration
Host Name . . . . . . . . . . . . : XP2
Primary Dns Suffix . . . . . . . : ms.local
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : ms.local
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Accelerated AMD PCNet Adapter
Physical Address. . . . . . . . . : 00-0C-29-26-57-A4
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.0.13
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.6
DNS Servers . . . . . . . . . . . : 192.168.0.1
89.0.0.240
步骤如下: