Skip to main content This browser is no longer supported. Show
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. ipconfig
In this articleDisplays all current TCP/IP network configuration values and refreshes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS) settings. Used without parameters, ipconfig displays Internet Protocol version 4 (IPv4) and IPv6 addresses, subnet mask, and default gateway for all adapters. Syntax
Parameters
Remarks
ExamplesTo display the basic TCP/IP configuration for all adapters, type:
To display the full TCP/IP configuration for all adapters, type:
To renew a DHCP-assigned IP address configuration for only the Local Area Connection adapter, type:
To flush the DNS resolver cache when troubleshooting DNS name resolution problems, type:
To display the DHCP class ID for all adapters with names that start with Local, type:
To set the DHCP class ID for the Local Area Connection adapter to TEST, type:
Additional References
FeedbackSubmit and view feedback for What command is used to check the status of a network device or system on the network?The netstat command generates displays that show network status and protocol statistics. You can display the status of TCP, SCTP, and UDP endpoints in table format.
Which of the following command can perform a reverse lookup?The nslookup command can also perform a reverse lookup using an IP address to find the domain or host associated with that IP address.
Which command can scan the issues in the Windows image?The sfc /scannow command will scan all protected system files, and replace corrupted files with a cached copy that is located in a compressed folder at %WinDir%\System32\dllcache. The %WinDir% placeholder represents the Windows operating system folder. For example, C:\Windows.
Which of the following command can be used to display the local routing table for a Windows device?The two commands used to display the routing table on a Windows host are route print and netstat -r. Command route print: It is used to display the routing table on the Windows host.
|