因為總要切換ip,所以百度了一下腳本 如下http://jingyan.baidu.com/article/d2b1d1029d21b95c7e37d4fa.html 動態ip netsh interface ip set address name="本地連接" source=dhcpnetsh i
因為總要切換ip,所以百度了一下腳本
如下http://jingyan.baidu.com/article/d2b1d1029d21b95c7e37d4fa.html
動態ip
netsh interface ip set address name="本地連接" source=dhcp
netsh interface ip set dns name="本地連接" source=dhcp
靜態
netsh interface ip set address name="本地連接" source=static addr=10.1.112.65 mask=255.255.0.0 gateway=10.1.112.2
netsh interface ip set dns name="本地連接" source=static addr=114.114.114.114