Tuesday, June 30, 2009

Automatic change your IP address in windows

netsh interface ip set address name="本地连接" source=static addr=192.168.0.8 mask=255.255.255.0
netsh interface ip set address name="本地连接" gateway=192.168.0.1 gwmetric=0
netsh interface ip set dns name="本地连接" source=static addr=202.106.0.20 register=PRIMARY
netsh interface ip add dns name="本地连接" addr=202.102.152.3 index=2
netsh interface ip add dns name="本地连接" addr=210.82.5.1 index=3
netsh interface ip set wins name="本地连接" source=static addr=none

No comments: