A local network is a complex mechanism where each device must have its own unique identifier to successfully exchange data. When you connect a laptop or desktop PC to your home WiFi, the router assigns it a digital address that allows it to be found among other devices. Situations often arise when you need to set up file sharing, forward ports for a game, or simply figure out which one is which. IP address Your computer currently has access to this information. Without this information, remote control becomes impossible, and diagnosing network problems becomes a matter of guesswork.
There are several proven ways to obtain this information, ranging from simple console commands to viewing the router's settings. The method you choose depends on your operating system and how deeply you plan to delve into network settings. In this article, we'll cover all the available options so you can choose the most convenient one. Knowing your network address is a basic skill that's useful for any user who wants to control their digital environment.
It's important to understand the difference between local and global addresses, as confusing them often leads to configuration errors. A local address is used for communication between devices within your apartment or office, while a global address is used for internet access. We'll focus on internal addressing, which is critical for building a home network. The standard local address range most often starts with 192.168.0.1 or 10.0.0.1, but may vary depending on your hardware settings.
Using the Command Prompt in Windows
The fastest and most reliable way to find your IP address in Windows is to use the built-in command line utility. This method doesn't require any additional software and works on all versions of the operating system, from XP to the latest Windows 11. First, open the command window by pressing the following key combination. Win + R and entering cmd, or simply find "Command Prompt" through the Start menu.
After the black terminal window is launched, you should enter the command ipconfig and press Enter. The system will immediately display a list of all network adapters installed on your device. You need to find the section corresponding to your wireless connection, which is usually called "Wireless Network" or "Wireless LAN Adapter." This is where the line will be listed. IPv4 address, containing the desired numbers.
Please note that the list may contain multiple addresses, including IPv6, which is much longer and contains letters. For most tasks like setting up a home network, port forwarding, or setting up a local server, you'll need a short address in this format. 192.168.x.xIf you see an address starting with 169.254, this means that the computer was unable to obtain an address from the router automatically, and the Internet connection will not work.
☑️ Checking data in CMD
Sometimes it's useful to know not only your address but also your default gateway, which is essentially your router's IP address. This information is also displayed in the command prompt window just below your IP address. Knowing the gateway allows you to access the router's web interface for more detailed network configuration. Remember or write down these values, as they form the foundation of your local infrastructure.
Finding IP via PowerShell
For users who prefer more modern Microsoft tools, PowerShell is a great option. It provides more structured data output and allows you to filter information using powerful scripting commands. To launch PowerShell, right-click the Start menu and select it from the list, or type powershell in search.
Unlike a simple command ipconfig, in PowerShell you can use cmdlet Get-NetIPAddressEntering this command will return a table with all IP addresses assigned to interfaces. However, to avoid getting lost in the abundance of information, it's best to use the command with a filter: Get-NetIPAddress -AddressFamily IPv4This will cut off unnecessary data and leave only the IPv4 addresses you need.
In the resulting list, pay attention to the column InterfaceAliasto find your WiFi adapter (usually "Wi-Fi"), and the column IPAddress, where the desired number will be entered. The advantage of PowerShell is that you can copy the address directly from there without unnecessary spaces and characters, which is convenient when entering it into other programs. Furthermore, this tool allows you to see the interface status—if it's marked as "Disconnected," it means the WiFi isn't connected.
⚠️ Important: When working with PowerShell, remember that some commands require administrator privileges. If the system returns an access error, run the shell as administrator using the context menu.
Another useful feature of PowerShell is the ability to output information as a property list, which makes reading data easier on small screens. The command Get-NetIPConfiguration Shows not only IP addresses but also DNS servers and connection status. This comprehensive view of your network configuration can replace several other utilities.
Network settings in macOS and Linux
Users of Apple Mac computers and Linux-based operating systems have their own ways of accessing network information. On macOS, this can be done through a graphical interface, without resorting to the terminal. Simply open System Preferences, go to the Network section, and select your active WiFi connection. Full information will be displayed on the right or bottom, including the IP address, subnet mask, and router address.
If you prefer the terminal in macOS or are working on Linux, the command ifconfig (or more modern ip addr (in Linux) will become your best friend. In macOS Terminal, you need to enter ifconfig en0 (for WiFi) to see connection details. In Linux, the command ip a will show all the interfaces and you need to find the one that is usually called wlan0 or wlp2s0.
On Linux systems with a graphical desktop environment like GNOME or KDE, you can often find this information by clicking on the network icon in the system tray and selecting "Network Settings" or "Connection Information." There will be a details tab that shows IPv4 AddressRegardless of the distribution, the principle remains the same: find the active wireless interface and examine its attributes.
What is the difference between ifconfig and ip addr?
The ifconfig command is deprecated in modern Linux distributions and may not display some new addressing types. It is recommended to use the ip utility from the iproute2 package, which is the de facto standard for professionals.
It's important to note that in Linux, permissions to execute some network commands may be restricted. However, viewing the IP address is usually available to a regular user. If you're setting up a server or using a static IP, this information will be critical for file configuration. /etc/network/interfaces or Netplan.
Viewing addresses in the router's web interface
The most visual way to see all the devices on the network and their IP addresses is to look at the router's settings. To do this, you need to know the gateway address (usually 192.168.0.1 or 192.168.1.1), enter it in your browser, and log in. Interfaces vary across manufacturers (TP-Link, ASUS, Keenetic, MikroTik), but the logic is the same.
Find the section labeled "Client List," "DHCP Server," "Network Map," or "Attached Devices." This displays a table of all devices currently connected to your WiFi. You'll see device names (for example, "Ivan-PC" or "Samsung-TV") and their assigned IP addresses. This allows you to monitor exactly who's using your network.
The advantage of this method is that you see the whole picture. You can compare the MAC address of your computer's network card (which can be found through ipconfig /all) with the address in the router's list to ensure you're looking at the correct line. You can also often assign an IP address to a specific device here so it doesn't change after a reboot.
| Manufacturer | Menu section | Typical entry address | Peculiarities |
|---|---|---|---|
| TP-Link | DHCP -> DHCP Clients List | 192.168.0.1 | Simple list, few details |
| ASUS | Network Map -> Clients | 192.168.1.1 | Visually clear interface |
| Keenetic | My Networks and Wi-Fi -> Home Network | 192.168.1.1 | Detailed information about each device |
| MikroTik | IP -> DHCP Server -> Leases | 192.168.88.1 | Professional tuning tool |
Please note that firmware interfaces are subject to update, and section names may change. If you can't find the item you need, use the router settings search by entering "client" or "DHCP." This will save time and help you quickly access the desired menu section.
Specialized scanning software
For those who need to constantly monitor the network or find available IP addresses, there are specialized scanning programs. One of the most popular tools is Advanced IP Scanner or Angry IP ScannerThese snails quickly scan the entire address range and show which ones are occupied, as well as identify the manufacturer of the device's network card.
Using this software is especially useful in offices or large homes with many devices. You can run a scan and see not only IP addresses but also open ports, shared folders, and even attempt remote control (RDP or SSH) directly from the program interface. This is a powerful tool for system administrators.
However, installing a separate program may be overkill for a one-time task. In such cases, you can use online services that show your public IP, but they are useless for a local address. Therefore, built-in OS tools or scanners remain the best choice. It's important to download such programs only from official websites to avoid viruses.
Some antivirus programs and firewalls may block network scanners, interpreting their activity as an attack attempt. If the program doesn't detect any devices, try temporarily disabling protection or adding the scanner to the exceptions list. This is a normal security system response to network scanning.
Problems with obtaining an IP and their solutions
Users often encounter a situation where WiFi appears to be connected, but there is no internet connection, and the IP address is either not received or is incorrect. If you see an address in the command line in the range 169.254.x.xThis indicates a DHCP failure. The computer was unable to contact the router and assigned itself a random address from the backup pool.
Resetting network settings often helps to correct this situation. In Windows, this can be done with the command ipconfig /release (release the current address) and then ipconfig /renew (request new). These commands force the network card to retry contacting the router for the correct data. In most cases, this resolves the issue within a few seconds.
If restarting DHCP doesn't help, check whether a static IP address is manually enabled in the adapter settings. Go to the IPv4 properties in Network Connections and make sure "Obtain an IP address automatically" is checked. Address conflicts, where two devices are assigned the same IP address, can also cause network instability.
⚠️ Important: If you're using a static IP address, make sure it's not in the range assigned by your router's DHCP server. This will cause conflicts and disconnect devices from the network.
In complex cases, a complete reboot of your network equipment may be necessary. Unplug the router for 10-15 seconds, then plug it back in. Wait until it fully boots up and try reconnecting your computer. This clears the error cache in the router's memory and often restores normal address assignment.
Frequently Asked Questions (FAQ)
Can my WiFi IP address change on its own?
Yes, if your router settings don't specify a static address (Reservation), the DHCP server may assign your device a different address after the lease expires or after a router reboot. This typically happens infrequently, but for servers, it's best to assign the address manually.
What is the difference between IPv4 and IPv6 and which one is mine?
IPv4 is an older standard for addresses of the form 192.168.1.5, which is used in 99% of home networks. IPv6 is a new standard with longer addresses containing letters. For local tasks (printers, files), you need IPv4. IPv6 is necessary for accessing next-generation resources on the global network.
Why do I have two IP addresses on one computer?
This is normal. You have a local address (for communication within your home) and a public address (for the internet). You may also have an address for WiFi and a separate one for the Ethernet cable, if both are connected. Furthermore, virtual adapters (from VMware, VirtualBox, or VPN) create their own virtual IP addresses.
How can I find out the IP address of someone else's computer on my network?
You can view the IP addresses of all connected devices in your router's web interface (DHCP Clients section) or using network scanners like Advanced IP Scanner. However, this knowledge alone isn't enough to access data on someone else's computer, as access is protected by passwords and security settings.