2000 XP Home XP Pro Vista
ネットワークアダプタのIP情報を表示・更新する


ipconfig

機能

ネットワークアダプタのIP情報を表示・更新する。アダプタの指定では、ワイルドカードが使用できる。

形式

ipconfig (option) (adapter)

オプション

オプション 説明
/all 詳細なIP設定を表示する
/release アダプタのIP設定を解放する(DHCPクライアントのときにのみ有効)
/renew アダプタのIP設定を更新する(DHCPクライアントのときにのみ有効)
/flushdns DNSキャッシュをクリアする
/registerdns DHCPリースを更新する
/displaydns DNSキャッシュを表示する
/showclassid DHCPクラスIDを表示する
/setclassid DHCPクラスIDを更新する

コマンド例

ipconfig /all 詳細なIP設定を表示する
ipconfig /renew adapter1 指定したアダプタのIP設定を更新する

実行例

c:\>ipconfig

Windows IP Configuration


Ethernet adapter ローカル エリア接続:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.0.7
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.0.1

c:\>

c:\>ipconfig /all

Windows IP Configuration

        Host Name . . . . . . . . . . . . : MAIN
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter ローカル エリア接続:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : NVIDIA nForce Networking Controller
        Physical Address. . . . . . . . . : 00-40-CA-94-21-B2
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.0.7
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.0.1
        DHCP Server . . . . . . . . . . . : 192.168.0.1
        DNS Servers . . . . . . . . . . . : 192.168.1.1
        Lease Obtained. . . . . . . . . . : 2006年7月28日 10:18:25
        Lease Expires . . . . . . . . . . : 2007年1月19日 12:14:07

c:\>

関連コマンド

netstat nslookup ping  

戻る