Network: IPConfig command - Windows

 

    The following instructions explain how to find your IP address in Windows. These instructions will also help you find your MAC (hardware) address, DHCP server, DNS server and other useful information. They may also help you resolve a bad connection.

    Open the command prompt (press the Windows key and R ( Windows + R) to open the Run window). Type cmd and press Enter from the keyboard.

    At the prompt, type ipconfig. Then press Enter. You will be shown your IP address, subnet mask and default gateway. If your IP address is 192.168.x.x, 10.x.x.x or 172.16.x.x, you are receiving an internal IP address from a router or other device. The IP address that the world sees is the router's IP address. If you receive an address of 169.254.x.x, this is a Windows address which usually means that your network connection is not working properly.

    If you want more detailed information about your network connection, type ipconfig / all at the prompt. Here you can get the same information as ipconfig with the addition of your MAC (hardware) address, DNS and DHCP server addresses, etc.

    If you are experiencing problems with your network connection, it can be fixed by releasing and renewing your IP address. Type ipconfig / release at the prompt and press Enter. Then type ipconfig / renew and press Enter again. If your connection is correct, a valid IP address, subnet mask and default gateway will be returned after a few seconds.


 


Comments

Popular Posts