How to use ipconfig command
This article will show you how to find the IP address in Windows. The images illustrated in the article were taken on Windows 10, so it may be different from other Windows versions. This guide also helps you find MAC addresses (hardware), DHCP servers, DNS servers and other useful information. This information can be useful when troubleshooting poor ResNet connectivity.
- Here's how to check if your IP address is static or dynamic
- 6 ways to view IP addresses on computers, smartphones or Tablet
- How to assign static IP addresses in Windows 7, 8, 10, XP or Vista
How to find the IP address using ipconfig command
Step 1 . Enter cmd in the search box, then right-click on Command Prompt and select Run as administrator . On Windows 10 1903, you have the Run as administrator option right on the search results, select it.
- How to open and run cmd with Admin permissions on Windows
The User Account Control window appears, click Yes.
Step 2 . At the command prompt C:> type ipconfig , then press Enter . You will see information about the IP address, subnet mask and default gateway. If your address is 192.168.xx, 10.xxx or 172.16.xx, this is an internal IP address from the router or other device. The IP address that everyone sees is the router's. If you get the address 169.254.xx, this is the Windows address, this means your network connection is not working properly.
Step 3 . If you want more information about your network connection, enter ipconfig / all at the command prompt. You can get the same information as ipconfig with adding MAC addresses (hardware), DNS and DHCP server addresses, information for IP lease, etc. Same as above, if the IP address of You are 192.168.xx, 10.xxx or 172.16.xx, you get an internal IP address from the router or other device. If you get the address 169.254.xx, this is the Windows address, which means your network connection is not working properly.
Step 4 . If there is a problem with ResNet connection, you can perform release (release) and grant new (renew) IP address to fix the problem. Type ipconfig / release and press Enter , then type ipconfig / renew and press Enter again. If the connection does not matter, you will receive a valid IP address, subnet mask and default gateway after a few seconds.
- Fix IP address conflict error on Windows computer
The ipconfig commands are advanced
- ipconfig /? : Display help message.
- ipconfig / all : Displays all configuration information.
- ipconfig / allcompartments : Displays information for all parts of the network.
- ipconfig / release : Freeing IPv4 addresses for specific adapters.
- ipconfig / release6 : Free the IPv6 address for a specific adapter.
- ipconfig / renew : Grant new IPv4 addresses for specific adapters.
- ipconfig / renew6 : Grant the new IPv6 address for the specific adapter.
- ipconfig / flushdns : Clear the DNS Resolver cache.
- ipconfig / registerdns : Refresh all DHCP lease and re-register the DNS name.
- ipconfig / displaydns : Displays the contents of the DNS Resolver cache.
- ipconfig / showclassid : Displays all allowed DHCP class IDs for the adapter.
- ipconfig / setclassid : Edit the DHCP class ID.
I wish you all success!
You should read it
- How to find the default gateway IP address
- 10 useful commands in Windows you should know
- 10 commands Windows 7 network administrators need to know
- Quick fix tip when Internet connection is 'broken'
- How to Get MAC Address Using Remote IP Address
- How to find the MAC address using the command line in Linux
- How to fix IP 169 address error
- How to find, set and change IP addresses on Linux
May be interested
- Bitsadmin getdisplayname and bitsadmin geterror command in Windowsthe bitadmin getdisplayname command takes the display name of the specified task. the bitsadmin geterror command retrieves detailed error information for the specified job.
- The echo command in Windowsthe echo command displays the message or turns on / off the command repeat feature. if used without parameters, the echo command will display the current echo setting.
- Fc command in Windowsthe fc command compares two files or a collection of files and displays the differences between them.
- Command at in Windowsthe at command schedules commands and programs to run on a computer at a specified time with a specific date. you can only use the command at when schedule service is running.
- Doskey command in Windowsthe doskey command calls doskey.exe (which reminds of previously entered command lines), modifies the command line and creates macros.
- How to use the which command in Linuxthe which command in linux determines the executable binary, which will execute when you issue a command to the shell. if you have different versions of the same program on your computer, you can use which to find out which shell will use.
- The command reg add in Windowsthe reg add command adds new subkeys or entries to the registry.
- Exit command in Windowsthe exit command exits the cmd.exe program (command interpreter) or the current batch script. to learn how to use this command, please see the example below.
- Rem command in Windowsthe rem command helps write comments (comments) in a batch file or config.sys.
- The dd command in Linux, How to use the dd commanddd is a command line utility for unix-like and unix operating systems, with the main purpose of converting and copying files.