cmd下修改网络配置
在cmd下修改网络配置信息
C:\Documents and Settings\Administrator>netsh
netsh>interface
netsh interface>ip
netsh interface ip>show address
netsh interface ip>set address "本地连接" static 172.16.28.115 255.255.255.0 gateway=172.16.28.1
以上命令可以一起执行 如下
C:\Documents and Settings\Administrator>netsh interface ip set address "本地连接" static 172.16.28.115 255.255.255.0 gateway=172.16.28.1
C:\Documents and Settings\Administrator>netsh
netsh>interface
netsh interface>ip
netsh interface ip>show address
netsh interface ip>set address "本地连接" static 172.16.28.115 255.255.255.0 gateway=172.16.28.1
以上命令可以一起执行 如下
C:\Documents and Settings\Administrator>netsh interface ip set address "本地连接" static 172.16.28.115 255.255.255.0 gateway=172.16.28.1