1、netsh 在命令模式下改ip地址
c:>/netsh
netsh>interface
interface>ip
interface ip >set address name = "local area connection" source = static addr=192.168.0.1 mask =255.255.255.0
c:>/netsh
netsh>interface
interface>ip
interface ip >set address name = "local area connection" source = static addr=192.168.0.1 mask =255.255.255.0
2、 用netsh -c interface ip dump > config.txt 输出一个文件,然后打开config.txt修改其中的地址。然后用命令 netsh -f d:/config.txt就OK了。
使用netsh命令配置IP地址
793

被折叠的 条评论
为什么被折叠?



