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.

  1. Here's how to check if your IP address is static or dynamic
  2. 6 ways to view IP addresses on computers, smartphones or Tablet
  3. 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.

  1. How to open and run cmd with Admin permissions on Windows

How to use ipconfig command Picture 1

The User Account Control window appears, click Yes.

How to use ipconfig command Picture 2

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.

How to use ipconfig command Picture 3

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.

How to use ipconfig command Picture 4

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.

  1. Fix IP address conflict error on Windows computer

How to use ipconfig command Picture 5

How to use ipconfig command Picture 6

The ipconfig commands are advanced

  1. ipconfig /? : Display help message.
  2. ipconfig / all : Displays all configuration information.
  3. ipconfig / allcompartments : Displays information for all parts of the network.
  4. ipconfig / release : Freeing IPv4 addresses for specific adapters.
  5. ipconfig / release6 : Free the IPv6 address for a specific adapter.
  6. ipconfig / renew : Grant new IPv4 addresses for specific adapters.
  7. ipconfig / renew6 : Grant the new IPv6 address for the specific adapter.
  8. ipconfig / flushdns : Clear the DNS Resolver cache.
  9. ipconfig / registerdns : Refresh all DHCP lease and re-register the DNS name.
  10. ipconfig / displaydns : Displays the contents of the DNS Resolver cache.
  11. ipconfig / showclassid : Displays all allowed DHCP class IDs for the adapter.
  12. ipconfig / setclassid : Edit the DHCP class ID.

I wish you all success!

4 ★ | 9 Vote

May be interested

  • Bitsadmin getdisplayname and bitsadmin geterror command in WindowsBitsadmin getdisplayname and bitsadmin geterror command in Windows
    the 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 in Windows
    the 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 WindowsFc command in Windows
    the fc command compares two files or a collection of files and displays the differences between them.
  • Command at in WindowsCommand at in Windows
    the 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 WindowsDoskey command in Windows
    the 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 LinuxHow to use the which command in Linux
    the 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 command reg add in Windows
    the reg add command adds new subkeys or entries to the registry.
  • Exit command in WindowsExit command in Windows
    the 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 WindowsRem command in Windows
    the rem command helps write comments (comments) in a batch file or config.sys.
  • The dd command in Linux, How to use the dd commandThe dd command in Linux, How to use the dd command
    dd is a command line utility for unix-like and unix operating systems, with the main purpose of converting and copying files.