Using ipconfig tool
ipconfig is a Windows utility which allows to perform configuration of computer networking.
To be able to use ipconfig utility you need first to launch Command Prompt. You can launch it from Windows start menu. Or you can type cmd in Windows search box.
The task which ipconfig is very frequently used for is to find out IP address of the current device, get IP address of the router and other network connection parameters.
To get it you should type ipconfig /all. This will output all details of the machine's connections.
Below is a list of fields you will get for each connection when you type ipconfig /all:
Description: description of the network connection. Typically it will have network card name and other connection details.
Physical address: That is a physical address of the current device which uniquely identifies device network chip
IPv4 address: IP address of the device. This is your current IP.
Subnet mask: This field specifies how many devices could be on your current network and what IP addresses they could have. Typically it is used to administer the network.
Default gateway: this is usually a router or modem IP address.
DHCP server: IP address of the server responsible for assigning IP addresses to devices on the network
DNS servers: Addresses of current DNS servers.
IPv6 address: IP address for IPv6 network. Since IP addresses are limited IPv6 addresses are used now.
To see all possible options for utility type ipconfig /?