netsh設定IP地址

zaizai397發表於2015-01-19
netsh interface ip set address "本地連線" static 192.168.166.230 255.255.255.0 192.168.166.1
netsh interface ip set dnsservers "本地連線" static 202.96.134.133 primary(首選DNS)
netsh interface ip add dns name="本地連線" addr=8.8.8.8 index=2(備用DNS)
 
netsh wlan set hostednetwork mode=allow
netsh wlan set hostednetwork key=12345607 ssid=qinqin
netsh wlan start hostednetwork

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26003028/viewspace-1406709/,如需轉載,請註明出處,否則將追究法律責任。

相關文章