Ipconfig: how to find out your local IP address and MAC address on Windows

The Ipconfig command line utility on Windows allows you to find out its local IP address and MAC address. This is its most well-known function and the one for which it is often used. However, it has several other options that allow you to perform various network-related tasks. Here is everything you need to know about the Ipconfig command and its functions.

Know local IP address and MAC

How do I know my IP address? The response sought is most often the public IP address. Several tools or websites allow you to know the address with which you go on the Internet. This is the case with the site www.monip.org. But no web platform will be able to access your address IP local, let alone your MAC address unless you have an application installed first. The easiest way is to use the command Ipconfig of Windows.

Ipconfig on Windows: all you need to know

There is a host of utilities to find out the MAC address as well as the local IP address of your PC in a network. All internet boxes as well as conventional routers offer this possibility. This does not mean that knowing the ipconfig commands is pointless. Already because you can be connected to a network without having access to the administration of the router.

Ipconfig: what is it?

Ipconfig is a command line utility accessible under Windows from the NT version of the system. It is still available in Windows 10. It provides various information related to network adapters and provides limited control over active TCP / IP connections. The Ipconfig function can be executed alone or with parameters. The most important are: Ipconfig/all, ipconfig/release and Ipconfig/renew.

The simple Ipconfig command

Start by opening the Command Prompt (type CMD in the Cortana search bar + Enter). Once opened, enter the command ipconfig and validate. In the displayed result, you will be able to read the local IP address of the PC, the subnet mask as well as the gateway for all network cards, whether physical or virtual.

local ip address

Ipconfig/All

As its All parameter indicates, this function is more complete and allows you to display all the active IP information for all the cards. With ipconfig / all you can also find your DNS server and MAC address. ipconfig all

Ipconfig/release

Any interruption in the connection to the Dynamic Host Configuration Protocol (DHCP) server may cause the acquisition of an IP address to fail. It then becomes impossible for the PC to connect to the network and the Internet. In this case, it is necessary release all active TCP / IP connections on all network cards with the Ipconfig / release command.

Ipconfig/renew

After releasing active TCP / IP connections, you can reassign an IP address to regain a connection to the network. To do this, use the command Ipconfig/renew. This option resets the TCP / IP connections on all network adapters. Note that the trick is different from that of changing the local IP address on the command line.

Finally, there is a method to find out your MAC address very quickly. Enter the command directly Getmac which is specific to the physical address of your computer. You can therefore use it as an alternative to ipconfig / all.

LEAVE A REPLY

Please enter your comment!
Please enter your name here