{"id":2491,"date":"2025-01-25T15:31:04","date_gmt":"2025-01-25T15:31:04","guid":{"rendered":"https:\/\/w3buddy.com\/?p=2491"},"modified":"2026-01-15T13:20:47","modified_gmt":"2026-01-15T07:50:47","slug":"complete-guide-to-ipconfig-with-examples","status":"publish","type":"post","link":"https:\/\/w3buddy.com\/blog\/complete-guide-to-ipconfig-with-examples\/","title":{"rendered":"Complete Guide to ipconfig with Examples"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>ipconfig <\/strong>is a powerful command-line tool in Windows for viewing and managing network configurations. Below are all the available ipconfig options.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">ipconfig Commands with Descriptions and Examples<\/h2>\n\n\n\n<figure class=\"wp-block-table has-small-font-size\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Command<\/strong><\/th><th><strong>Description<\/strong><\/th><th><strong>Example<\/strong><\/th><th><strong>Output<\/strong><\/th><\/tr><\/thead><tbody><tr><td><code>ipconfig<\/code><\/td><td>Displays basic IP configuration information.<\/td><td><code>ipconfig<\/code><\/td><td>IP address, subnet mask, and default gateway for each active adapter.<\/td><\/tr><tr><td><code>ipconfig \/all<\/code><\/td><td>Displays detailed information about all network interfaces, including MAC addresses, DNS servers, DHCP status, etc.<\/td><td><code>ipconfig \/all<\/code><\/td><td>Hostname, DNS servers, MAC addresses, DHCP lease info, and IP details for each interface.<\/td><\/tr><tr><td><code>ipconfig \/release<\/code><\/td><td>Releases the IP address assigned by the DHCP server, disconnecting from the network.<\/td><td><code>ipconfig \/release<\/code><\/td><td>IP address is released from all active network adapters.<\/td><\/tr><tr><td><code>ipconfig \/renew<\/code><\/td><td>Renews the DHCP lease and attempts to obtain a new IP address from the DHCP server.<\/td><td><code>ipconfig \/renew<\/code><\/td><td>New IP address is obtained from the DHCP server for all adapters.<\/td><\/tr><tr><td><code>ipconfig \/flushdns<\/code><\/td><td>Clears the DNS resolver cache, which helps resolve issues with outdated or incorrect DNS records.<\/td><td><code>ipconfig \/flushdns<\/code><\/td><td>&#8220;Successfully flushed the DNS Resolver Cache.&#8221;<\/td><\/tr><tr><td><code>ipconfig \/registerdns<\/code><\/td><td>Registers the computer\u2019s DNS information with the DNS server.<\/td><td><code>ipconfig \/registerdns<\/code><\/td><td>The system registers DNS information with the DNS server.<\/td><\/tr><tr><td><code>ipconfig \/displaydns<\/code><\/td><td>Displays the current DNS resolver cache showing domain names and their resolved IP addresses.<\/td><td><code>ipconfig \/displaydns<\/code><\/td><td>Lists cached DNS records.<\/td><\/tr><tr><td><code>ipconfig \/showclassid [adapter]<\/code><\/td><td>Shows the DHCP class ID for a specific network adapter (e.g., Ethernet, Wi-Fi).<\/td><td><code>ipconfig \/showclassid Ethernet<\/code><\/td><td>Displays the DHCP class ID for the specified adapter.<\/td><\/tr><tr><td><code>ipconfig \/setclassid [adapter] [class_id]<\/code><\/td><td>Configures a new DHCP class ID for a specified network adapter.<\/td><td><code>ipconfig \/setclassid Ethernet 12345<\/code><\/td><td>Sets a custom DHCP class ID for the Ethernet adapter.<\/td><\/tr><tr><td><code>ipconfig \/release6<\/code><\/td><td>Releases the IPv6 configuration, disconnecting IPv6 addresses from all network adapters.<\/td><td><code>ipconfig \/release6<\/code><\/td><td>IPv6 addresses are released from all network interfaces.<\/td><\/tr><tr><td><code>ipconfig \/renew6<\/code><\/td><td>Renews the IPv6 address from the DHCP server.<\/td><td><code>ipconfig \/renew6<\/code><\/td><td>New IPv6 address is obtained from the DHCP server for all adapters.<\/td><\/tr><tr><td><code>ipconfig \/allcompartments<\/code><\/td><td>Displays all network interfaces across multiple network compartments (for advanced setups).<\/td><td><code>ipconfig \/allcompartments<\/code><\/td><td>Lists network configurations across different compartments.<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Overview of <code>ipconfig<\/code> commands and their usage<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>ipconfig is a powerful command-line tool in Windows for viewing and managing network configurations. Below are all the available ipconfig options. ipconfig Commands with Descriptions and Examples Command Description Example Output ipconfig Displays basic IP configuration information. ipconfig IP address, subnet mask, and default gateway for each active adapter. ipconfig \/all Displays detailed information about [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"googlesitekit_rrm_CAowu461DA:productID":"","footnotes":""},"categories":[1225],"tags":[],"class_list":["post-2491","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/posts\/2491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/comments?post=2491"}],"version-history":[{"count":2,"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/posts\/2491\/revisions"}],"predecessor-version":[{"id":2493,"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/posts\/2491\/revisions\/2493"}],"wp:attachment":[{"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/media?parent=2491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/categories?post=2491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/w3buddy.com\/blog\/wp-json\/wp\/v2\/tags?post=2491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}