设置IP地址

::设置IP地址、掩码及网关
netsh interface ip set address "本地连接" source=static addr=172.16.20.73 mask=255.255.255.0 gateway=172.16.20.1 atuo


::设置DNS地址
netsh interface ip set dns "本地连接" static 172.16.252.3 primary

netsh interface ip add dns "本地连接" 172.16.252.4 index=2


::设置WINS地址
netsh interface ip set wins "本地连接" static 172.16.252.2

 

 

posted on 2013-01-27 21:17  momingliu11  阅读(434)  评论(0编辑  收藏  举报