24.7k views
3 votes
What Windows command displays the IP address and subnet mask?

ipconfig

ping

netstat

ifconfig

User NealJMD
by
8.3k points

1 Answer

3 votes

Answer: ipconfig

Step-by-step explanation:

ipconfig is a windows console application which can be run from the command prompt. It gives us the IP address information over a windows computer. It shows the link-local IPv6 address, default gateway, IPv4 address, subnet mask.

ipconfig also supports other commands such as :

1. ipconfig/all : This display the IP addresses across all the adapters.

2. ipconfig/release : This is used to release all the TCP/IP connection across all the adapters.

3. ipconfig/renew : This command is used to re establish TCP/IP connection across all the adapters.