Ipconfig

ipconfig(アイピーコンフィグ、internet protocol configuration)は、Microsoft Windowsのコンソールアプリケーションである。

ipconfig(アイピーコンフィグ、internet protocol configuration)は、Microsoft Windowsコンソールアプリケーションである。

現在のTCP/IPネットワーク設定を参照したり、DHCPDNSの設定を変更したりするのに使用する[1]

/all オプションをつけて実行すると、オプションをつけないときよりも詳細なTCP/IPネットワーク設定を参照できる。

強制的な解放と再取得

ipconfigの重要な機能に、DHCPのIPアドレスの再取得がある。IPアドレスの再取得のためには2回コマンドを実行する。まず、 ipconfig /release を実行する。これにより、クライアント(PC)からDHCPサーバへDHCP解放通知が送られ、DHCPサーバにおける旧IPアドレスの状態が「利用可能」になる。次に、 ipconfig /renew を実行する[2][3]。これにより、クライアントからDHCPサーバへ新しいIPアドレスの取得要求が送られる。

コンピュータをケーブルモデムやDSLモデムに接続している場合は、古いIPアドレスが他のコンピュータでとられることを確実にするために、ルータを回避してコンピュータを直接モデム・ネットワーク・ポートに接続してから、ipconfig /releaseを実行し、しばらくの間電源をオフにする必要がある[4]

/flushdns オプションは、DNSキャッシュをクリアするための使用する。これにより、次にDNS問合せをしたときに、強制的に外部のDNSサーバへ問合せに行くようになり、最新のDNS情報が使用できるようになる[5]

Mac OS Xのipconfig

Mac OS Xipconfigは、IPConfigurationのラッパーとして機能し、コマンドラインインタフェースからBootPDHCPクライアントの制御を行える[6]。多くのUnix系オペレーティングシステムのように、Mac OS Xではifconfigも使用でき、固定IPアドレスの設定などネットワークインターフェースを直接制御することができる。

関連項目

出典

外部リンク

Windows
Mac OS X
*ipconfig(8): view and control IP configuration state – Darwin and macOS System Manager's Manual

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.