ipconfig
Windows上でコンピュータのIPアドレス、ネットマスクなどを表示、DHCPで割り当てられたIPアドレスの解放と再取得を行うコマンド。
アドレスの表示
オプション梨で実行する。
C:\>ipconfig Windows 2000 IP Configuration Ethernet adapter ローカル エリア接続: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 192.168.131.72 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.131.254 C:\
DHCPサーバ、DNSサーバなどの情報も表示する。
/allオプションを指定する。
C:\>ipconfig /all Windows 2000 IP Configuration Host Name . . . . . . . . . . . . : sakabevpc Primary DNS Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No Ethernet adapter ローカル エリア接続: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Intel 21041 Based PCI Ethernet Adapter Physical Address. . . . . . . . . : 00-03-FF-62-46-D2 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes IP Address. . . . . . . . . . . . : 192.168.131.72 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.131.254 DHCP Server . . . . . . . . . . . : 192.168.131.254 DNS Servers . . . . . . . . . . . : 192.168.131.252 Lease Obtained. . . . . . . . . . : 2006年1月18日 14:42:00 Lease Expires . . . . . . . . . . : 2023年1月23日 9:30:31 C:\>