When configuring or troubleshooting a network, it is essential to verify that the client computer has the correct IP address, subnet mask (or prefix), default gateway, and DNS servers. Each operating system provides tools and commands to check these IP parameters.
In this topic, we will understand the how to verify the IP parameters for popular client OS like Windows, macOS and Linux. you must know how to verify IP configuration on different client operating systems. This is crucial for troubleshooting network connectivity issues in real-world scenarios.
Verifying IP Parameters in Windows
Windows Operating System facilitates various commands to execute IP address, subnet mask, DNS and other network parameters for troubleshooting.
To verify IP parameters in Windows in CUI mode, run ipconfig /all command from Command prompt or PowerShell.
Command Prompt is a CUI based tools in Windows OS. To open Command Prompt in Window environments, follow the following steps:
- Press WIndows + R button in keyboard and type CMD follwed by Enter.
- Run the following command
- ipconfig /all
- The output will be as:

From the above output, we can verify the following IP parameters of client computers.
- IP address: Host own IP Address
- Subnet mask: 255.255.255.0
- Default gateway: Router gateway address
- DHCP server: Automatically assign IP address to the clients
- DNS Servers: Provides the IP address of DNS Servers
There are many other commands for analyse network parameters and troubleshooting in Windows Client Machines.
- ping: Ping Command is used to test the connectivity of any host with network devises or end devices.
- tracert: The
tracert(Trace Route) command is used to trace the path that packets take from your computer to a destination host or servers. It shows each router (hop) along the path: - netstat: The
netstatcommand displays network connections, routing tables, interface statistics, masquerade connections, and more.- The
-rnoptions specifically show the routing table in numeric form. -r→ Displays the routing table.-n→ Shows IP addresses in numeric form (instead of resolving hostnames). displays the PC’s routing table
- The
- netsh interface ipv6 show: This command family is used to display IPv6 configuration details on a Windows machine. The word
showmust be followed by a specific option (likeaddress,interface, orroute). lists some of the available commands to confirm IPv6 configuration (such as multicast groups etc). nslookup: Name Server Lookup is a diagnostic tool used to test and troubleshoot DNS (Domain Name System) resolution.
It lets you query DNS servers for hostnames, IP addresses, and other DNS records.
To verify IP parameters in Windows in CUI mode, follow the steps below:
Step 1: Click on Search Bar and then select Control Panel.

Step 2: Click on Network and Sharing Center in Control Panel Dialog Box.

Step 3: Click on the active network setup.

Step 4: Click on Details in Active network status dialog box.

Step 5: It will show the various IP parameters details like IP Address, Subnet Mask, Default Gateway, DNS servers and more.

Verifying IP Parameters in macOS
Method 1: Verify IP Parameters Using System Settings (GUI)
This is the easiest method for most macOS users. Here is the step-by-step method for verifying IP parameters for client MAC OS using GUI.
- Click the Apple menu → System Settings
- Select Network
- Choose your active connection:
- Wi-Fi (for wireless)
- Ethernet (for wired)
- Click Details or Advanced
It will display the following details:
- IP Address
- Subnet Mask
- Router (Default Gateway)
- DNS Servers
- IPv6 configuration (if enabled)
This method is ideal for quick verification without using the Terminal.
Method 2: Verify IP Parameters Using Terminal (Command Line)
For advanced users and IT professionals, the Terminal provides detailed and precise network information. Follow the steps below to open Terminal or command line in MAC OS.
- Press Command + Space
- Type Terminal
- Press Enter
The common and popular commands to verify IP parameters in cleint MAC OS are given below.
| Command Line | Description |
| ipconfig getifaddr en0 | Displays IP address information of en0 interface. (usually, en0 represents Wi-Fi network or Ethernet) |
| ifconfig | Displays IP address, Subnet mask, MAC address and Network interface status. |
| netstat -nr | grep default | Displays default gateway in systems routing table |
| scutil –dns | Displays the current DNS servers |
3. Verifying IP Parameters in Linux
Linux OS provides a very strong command line interface to run IP address configuration command. To verify IP Parameters in Linux Client, the following commands are used.
$ ip addr show
This command displays the detailed information about the connected network interfaces like IP address, subnet mask and interface states.

$ ifconfig
This command is older version found in previous Linux distribution. It is not available in modern Linux distribution. In order to run this command in modern OS, you have to manually install it.

$ cat /etc/resolv.conf
This command will display the DNS servers

$ ip route
This will display the default gateways.

Conclusion
Verifying IP parameters on a client operating system is a fundamental step in ensuring reliable network connectivity and effective troubleshooting. By checking key settings such as the IP address, subnet mask, default gateway, and DNS servers, users and administrators can quickly identify configuration errors that may prevent access to local or external networks. Whether performed through graphical system settings or command-line tools, this process helps confirm proper DHCP operation, detect conflicts, and resolve connectivity issues efficiently. Regularly verifying IP parameters not only saves time during network problems but also supports stable, secure, and consistent network performance across client systems.








