ネットワークインタフェースの設定および確認方法 †コマンドプロンプトの起動 †IPアドレスの確認(ネットワークインタフェースの状態確認) †以下のコマンドを入力しenterキーを押します。 ipconfig ipconfigコマンドを実行するとネットワークインタフェースの設定状態が表示されます。 ネットワークインタフェースの詳細情報の確認 †詳細な情報を出力するには、/allオプションを追加しenterキーを押します。 ipconfig /all 以下のスクリーンショットを見るとDNSサーバなどの情報も表示されます。 ipconfigの他オプション †以下のように/?オプションを追加しコマンドを実行するとipconfigの使用方法が表示されます。 ipconfig /? 参考資料: http://support.microsoft.com/kb/314850/ja C:\>ipconfig /? USAGE: ipconfig [/? | /all | /renew [adapter] | /release [adapter] | /flushdns | /displaydns | /registerdns | /showclassid adapter | /setclassid adapter [classid] ] where adapter Connection name (wildcard characters * and ? allowed, see examples) Options: /? Display this help message /all Display full configuration information. /release Release the IP address for the specified adapter. /renew Renew the IP address for the specified adapter. /flushdns Purges the DNS Resolver cache. /registerdns Refreshes all DHCP leases and re-registers DNS names /displaydns Display the contents of the DNS Resolver Cache. /showclassid Displays all the dhcp class IDs allowed for adapter. /setclassid Modifies the dhcp class id. The default is to display only the IP address, subnet mask and default gateway for each adapter bound to TCP/IP. For Release and Renew, if no adapter name is specified, then the IP address leases for all adapters bound to TCP/IP will be released or renewed. For Setclassid, if no ClassId is specified, then the ClassId is removed. Examples: > ipconfig ... Show information. > ipconfig /all ... Show detailed information > ipconfig /renew ... renew all adapters > ipconfig /renew EL* ... renew any connection that has its name starting with EL > ipconfig /release *Con* ... release all matching connections, eg. "Local Area Connection 1" or "Local Area Connection 2" 接続の解放を行う/releaseオプションやアダプタの更新処理を行う/renewなどがあります。 /release, /renewはDHCPサーバからIPアドレスを取得する構成の場合のみ使用できます。 ipconfig /release の例 †ネットワーク接続名を指定して、ネットワークを解放する例を以下に記します。
C:\>ipconfig Windows IP Configuration Ethernet adapter ローカル エリア接続: Media State . . . . . . . . . . . : Media disconnected Ethernet adapter ワイヤレス ネットワーク接続: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 192.168.0.22 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.0.1 Ethernet adapter Bluetooth Network: Media State . . . . . . . . . . . : Media disconnected
No operation can be performed on ローカル エリア接続 while it has its media disconnected.
ipconfig /renew の例 †ワイヤレス ネットワークの更新(再接続) C:\>ipconfig /renew *ワイヤレス* Windows IP Configuration Ethernet adapter ローカル エリア接続: Media State . . . . . . . . . . . : Media disconnected Ethernet adapter ワイヤレス ネットワーク接続: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 192.168.0.22 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.0.1 Ethernet adapter Bluetooth Network: Media State . . . . . . . . . . . : Media disconnected |