ipconfig: Display full configuration information. ...
The command: "ipconfig" is on Windows 11, 10, .. available
The examples for the command "ipconfig"
Here are some examples of using the `ipconfig`
command in the Windows Command Prompt (cmd):
Example 1: View network configuration:
This command displays the computer's basic network configuration, including the IP address, subnet mask, and default gateway for all active network adapters.
Example 2: View detailed network information:
Detailed information for all network adapters is displayed here, including physical addresses (MAC addresses), DHCP status, and DNS configuration.
Example 3: Show only IP address information:
This command only displays the IP address, subnet mask, and default gateway for all active network adapters.
Example 4: View information for a specific network adapter:
ipconfig /all /adapter "Ethernet"
with the name of the specific network adapter. This command displays detailed information for only the specified network adapter.
Example 5: Show only IPv4 address information:
Only the IPv4 address information for all active network adapters is displayed here.
Example 6: View information for a specific DNS server:
ipconfig /dns 126.96.36.199
with the IP address of the specific DNS server. This command displays DNS configuration information for the specified DNS server.
The above examples may vary depending on your network configuration and environment. Some of the commands may require administrative privileges, especially if you want to change specific network configuration settings. Make sure you're running Command Prompt as an administrator if necessary and that you have the necessary access rights.
"ipconfig" Excerpt from Microsoft Windows Help
Microsoft Windows [Version 10.0.19045.3693]
(c) Copyright 1985-2023 Microsoft Corp.
ipconfig [/? | /all | /renew [adapter] | /release [adapter] |
/flushdns | /displaydns | /registerdns |
/showclassid adapter |
/setclassid adapter [classid] ]
adapter Connection name
(wildcard characters * and ? allowed, see examples)
/? 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.
> 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"
Important information, tips for the "ipconfig" command
Yes, there are some important considerations to keep in mind when using the `ipconfig`
command in the Windows Command Prompt:
1. Admin rights:
Make sure you run Command Prompt as an administrator to have full access to network configuration and information.
Right click -> "Run as administrator"
2. Display all network adapters:
By default, `ipconfig`
only shows active network adapters. If you also want to see disabled adapters, use the `/all`
3. Display only IPv4 or IPv6 information:
You can limit the information to IPv4 or IPv6 addresses using the `/ipv4`
4. Update IP address from DHCP server:
If you want to request a new IP address from the DHCP server, use the `/renew`
5. Clear DNS Cache:
To flush the DNS cache, use the `/flushdns`
6. View information for a specific adapter:
You can also view the command for a specific network adapter by specifying the adapter name.
ipconfig /all /adapter "Ethernet"
7. **Be careful when changing settings:**
Be careful when changing network settings using `ipconfig`. Incorrect settings could lead to network problems.
8. **Check logging:**
Check the output of `ipconfig` for possible errors or warnings. This can help troubleshoot network problems.
By keeping these considerations in mind, you can ensure that running the `ipconfig` command meets your needs and network configurations are displayed or updated correctly.