Network Information on Windows

This guide explains how to identify all relevant network information on Windows using a single command.
It is written to be clear and usable even when many network interfaces are present.


Supported systems

Applies to desktop and laptop computers using:


What information you will find

This guide helps you identify:


The command used

All network information is retrieved using:

ipconfig /all

This command displays every network interface on the system, including:

Seeing many adapters is normal.


How to run the command

  1. Open Command Prompt
  2. Run:

ipconfig /all

The output is divided into sections, one per network adapter.


Understanding network adapters

Each block in the output represents one network interface.

Common adapter types:

Most systems show multiple adapters. This is expected.


Which adapter should you use?

In most cases, use:

Ignore adapters that:

If a VPN is connected, a separate VPN adapter will appear.
Do not use the VPN adapter for local network information.


Local IP address (LAN)

The local IP address identifies the computer inside the local network.

How to find it

  1. Locate the active Ethernet or Wireless LAN adapter
  2. Identify these fields:

IPv4 Address
Subnet Mask
Default Gateway

Example

IPv4 Address. . . . . . . . . : 192.168.1.42
Subnet Mask . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . : 192.168.1.1

Meaning

Typical local IP ranges:


VPN IP address

A VPN IP address exists only when a VPN connection is active.

How to find it

  1. Look for the adapter created by the VPN software
  2. Identify its IPv4 Address

Example

IPv4 Address. . . . . . . . . : 100.96.12.34

Notes:


MAC address (Physical Address)

The MAC address is a unique hardware identifier for a network interface.

How to find it

  1. Use the same adapter used for the local IP
  2. Identify the field:

Physical Address

Example

Physical Address. . . . . . . : 3C-52-82-9A-B4-1F

Important notes:


Quick reference (most common case)

For most users:

Always take values from the same adapter.