netsh - TCP/IP制御

対話式

 C:\Users\taro>netsh
 netsh>interface
 netsh interface>ip
 netsh interface ipv4>show addresses
 インターフェイスの構成 "ローカル エリア接続"
   DHCP 有効:                         はい
   IP アドレス:                        192.168.0.10

設定の確認

 netsh interface ip show config

固定IPアドレスの設定

 netsh interface ip set address "ローカル エリア接続" ^
           static 192.168.0.50 255.255.255.0 192.168.0.1

DHCPの設定

 netsh interface ip set address "ローカル エリア接続" dhcp

DNSサーバの設定

 netsh interface ip set dns "ローカル エリア接続" static 192.168.0.1

DNSサーバの追加

 netsh interface ip add dns "ローカル エリア接続" 192.168.0.2

リンク速度の確認

出来ない?PowerShellのGet-NetAdapterを使う。

参考

http://www.atmarkit.co.jp/fwin2k/win2ktips/1264netship/netship.html


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2013-09-20 (金) 17:59:44