* netsh - TCP/IP制御 [#kfe8c79a]
** 対話式 [#l2839fc5]
C:\Users\taro>netsh
netsh>interface
netsh interface>ip
netsh interface ipv4>show addresses
インターフェイスの構成 "ローカル エリア接続"
DHCP 有効: はい
IP アドレス: 192.168.0.10
** 設定の確認 [#bcc9f442]
netsh interface ip show config
** 固定IPアドレスの設定 [#gc8e0abc]
netsh interface ip set address "ローカル エリア接続" ^
static 192.168.0.50 255.255.255.0 192.168.0.1
** DHCPの設定 [#e9da3054]
netsh interface ip set address "ローカル エリア接続" dhcp
** DNSサーバの設定 [#t8d51a1c]
netsh interface ip set dns "ローカル エリア接続" static 192.168.0.1
*** DNSサーバの追加 [#q29f27d3]
netsh interface ip add dns "ローカル エリア接続" 192.168.0.2
** 参考 [#ne716408]
http://www.atmarkit.co.jp/fwin2k/win2ktips/1264netship/netship.html