Setting up a Wi-Fi network is a task that every user faces sooner or later. One of the key steps in this process is correctly specifying IP parameters: device addresses, subnet masks, default gateway, and DNS servers. Without this information, your internet connection may be unstable or not work at all. But how can you find these parameters if they're not included in your contract with your provider or have been lost?
In this article, we'll take a detailed look at where and how to find the necessary data for various devices—from computers and laptops to smartphones and routers. You'll learn which commands and tools can help you determine your current network settings, how to interpret them, and how to apply them to properly configure Wi-Fi. We'll also pay special attention to common errors that can occur when manually entering parameters and how to avoid them.
What are IP parameters and why are they needed for Wi-Fi?
Before moving on to practical steps, it's important to understand what specific parameters are required to configure the network and what role they play. There are four main parameters:
- 🔹 IP address — a unique identifier of a device on the network (for example,
192.168.1.100). It can be static (set manually) or dynamic (issued by the router via DHCP). - 🔹 Subnet mask — determines which part of the IP address refers to the network and which refers to the device (for example,
255.255.255.0). - 🔹 Main gateway — The IP address of the router through which the device accesses the Internet (most often
192.168.1.1or192.168.0.1). - 🔹 DNS servers — addresses of servers that resolve domain names (for example, google.com) into IP addresses. You can use your provider's DNS or public ones (for example,
8.8.8.8from Google).
If even one of these parameters is incorrect, the device will not be able to connect to the network or access the internet. For example, an incorrect subnet mask will prevent the device from seeing other devices on the local network, while an incorrect gateway address will prevent internet access.
In most home networks, parameters are assigned automatically via the protocol DHCP, but sometimes manual configuration is required—for example, to ensure stable operation of IP cameras or servers, or to deal with address conflicts. In such cases, knowing the current network parameters becomes critical.
How to find IP settings on a Windows computer
If you are setting up Wi-Fi on a PC or laptop running Windows 10/11There are several ways to obtain current network settings. The fastest and most versatile are via the command line or graphical interface.
Method 1: Command line (ipconfig)
This is the most reliable method, and it works on all versions of Windows. Open the command prompt:
- Click
Win + R, entercmdand pressEnter. - Enter the command:
ipconfig /all
In the results, find the block with the name of your Wi-Fi adapter (for example, Wireless Wi-Fi network). You need the following lines:
- 📌 IPv4 address — the current IP of your device.
- 📌 Subnet mask — network mask.
- 📌 Main gateway — router address.
- 📌 DNS servers — DNS addresses (may be absent if assigned automatically).
If the command output shows instead of the IP address 169.254.x.x, this means the device hasn't received the correct settings from the router (DHCP issue). In this case, check your network connection or router settings.
Method 2: Windows GUI
An alternative method is via "Network Settings":
- Open
Settings → Network and Internet → Wi-Fi. - Click on the name of your network, then -
Properties. - Scroll down to the block
Properties— the IPv4 address, gateway and DNS will be indicated there.
⚠️ Attention: In some versions of Windows (especially enterprise versions), network settings may be hidden by security policies. In this case, use the command prompt or contact your network administrator.
☑️ Checking Windows settings
Finding IP Settings on macOS
For users MacBook or iMac There are also several ways to access network settings. Let's look at the two main ones: via System Preferences and the Terminal.
Method 1: System Preferences
To find out IP parameters via the graphical interface:
- Open
System Preferences → Network. - Select an active connection
Wi-Fiin the left menu. - Click
Additionallyin the lower right corner. - Go to the tab
TCP/IP— the IPv4 address, subnet mask, router (gateway), and DNS servers will be indicated here.
Pay attention to the line IPv4 configurationIf it's there Using DHCP, the parameters are assigned automatically. If Manually - you will see manually specified values.
Method 2: Terminal (ifconfig)
For experienced users, it is more convenient to use the terminal:
- Open
Terminal(via Spotlight orPrograms → Utilities). - Enter the command:
ifconfig | grep "inet " - Find the line with the IP address (for example,
inet 192.168.1.102 netmask 0xffffff00). - For gateway and DNS use the command:
netstat -rn | grep default
The subnet mask in the terminal is displayed in hexadecimal format (for example, 0xffffff00). To translate it into its usual form (255.255.255.0), use an online converter or a conversion table.
⚠️ Attention: On macOS, unlike Windows, the commandipconfigdoesn't work - useifconfigornetworksetup.
Obtaining IP parameters on Android and iOS
Mobile devices also store network settings information, but accessing it is less straightforward than on a PC. Let's look at how to find IP settings on smartphones and tablets.
Android: via settings or apps
Network information is hidden in the default Android settings, but it can be found:
- Open
Settings → Wi-Fi. - Click on the name of your network.
- On some versions of Android (eg. Samsung or Xiaomi) The IP address is displayed here. If not, proceed to the next step.
- Install the application WiFi Analyzer or Network Info II - they will show all parameters, including gateway and DNS.
For advanced users there is a way through ADB (Android Debug Bridge), but it requires connecting to a computer and enabling developer mode.
iOS (iPhone/iPad): via settings
On devices Apple Network information is available without additional applications:
- Open
Settings → Wi-Fi. - Click on the icon
inext to the name of your network. - In the block
IPv4 addressYou'll see your current IP address, subnet mask, and router. DNS servers are not displayed here.
To find out DNS, you can use applications like Network Analyzer or perform a ping test through the terminal (if you have jailbreak).
How to find IP settings on a router
If you need to configure the network device itself (router, access point), you can find the settings through its web interface or the label on the device. Let's look at both options.
Method 1: Label on the router
On the bottom or back panel of most routers (TP-Link, ASUS, Keenetic etc.) the following information is provided:
- 🔧 IP address for login (For example,
192.168.1.1or192.168.0.1) is the gateway address for devices on the network. - 🔧 Username and password (usually
admin/admin). - 🔧 Wi-Fi SSID and password (if not changed).
This information will help you connect to the router, but it won't show your current DHCP or DNS settings. For that, you'll need the web interface.
Method 2: Router web interface
To see all network parameters:
- Connect to the router via Wi-Fi or cable.
- Open your browser and enter the router's IP address (from the label or from the network settings on your PC).
- Log in (login/password usually
admin/adminor indicated on the label). - Go to the section
Local Area Network (LAN)orDHCP— here will be:
- 📡 Router IP address (gateway for devices).
- 📡 Range of issued addresses (For example,
192.168.1.100–192.168.1.199). - 📡 Subnet mask.
- 📡 DNS servers (can be provider-owned or public).
In some models (eg, Keenetic) these settings are located in the section Internet → Local Area NetworkIf you can't find the item you need, please refer to the user manual for your model.
⚠️ Attention: Changing parameters LAN (for example, the router's IP address) will result in a disconnection. After saving the new settings, you'll have to connect to the new address.
What should I do if I can't log into my router?
If you've forgotten your password or your router's IP address isn't accessible, try resetting it to factory settings. To do this, press and hold the button. Reset (usually located on the back panel) for 10-15 seconds. After the reset, use the information on the label to log in.
Table: Typical IP parameters for home networks
Most home networks use standard IP address ranges and masks. Below is a table of typical values for different router manufacturers:
| Router manufacturer | Router IP address (gateway) | Subnet mask | DHCP range (example) | Default DNS |
|---|---|---|---|---|
| TP-Link | 192.168.1.1 or 192.168.0.1 |
255.255.255.0 |
192.168.1.100–192.168.1.199 |
DNS provider |
| ASUS | 192.168.1.1 |
255.255.255.0 |
192.168.1.2–192.168.1.254 |
DNS provider or 8.8.8.8 |
| Keenetic | 192.168.1.1 |
255.255.255.0 |
192.168.1.10–192.168.1.200 |
DNS provider or Cloudflare (1.1.1.1) |
| MikroTik | 192.168.88.1 |
255.255.255.0 |
192.168.88.2–192.168.88.254 |
Configured manually |
| Zyxel | 192.168.1.1 or 192.168.0.1 |
255.255.255.0 |
192.168.1.2–192.168.1.254 |
DNS provider |
If your router is not listed in the table, check its documentation or use the methods described above to determine the parameters yourself.
Common mistakes when configuring IP parameters
Even experienced users sometimes make mistakes when manually entering network parameters. Let's look at the most common ones and how to avoid them.
- ❌ Invalid subnet maskFor example, instead of
255.255.255.0indicated255.255.0.0This will prevent the device from connecting to the router. - ❌ IP address out of DHCP rangeIf the router distributes addresses with
192.168.1.100, and you set it manually192.168.1.5, conflicts may arise. - ❌ Incorrect gatewayFor example, it is indicated
192.168.2.1, while the router has an address192.168.1.1. - ❌ Lack of DNSWithout specifying DNS servers, the device will not be able to open websites by domain names (for example, google.com).
- ❌ IP address conflictTwo devices on the network cannot have the same IP address. If the address is already taken, a connection error will appear.
To avoid mistakes, follow these guidelines:
- ✅ Always make sure that the device's IP address and gateway are in the same subnet. For example, if the gateway
192.168.1.1, the device IP must be in the range192.168.1.x. - ✅ Use a subnet mask
255.255.255.0for home networks (unless otherwise specified by the provider). - ✅ When setting up manually, select an IP address outside the DHCP range (for example, if DHCP distributes
192.168.1.100–199, take it192.168.1.50).
Critical error: If you specify the router's IP address as the device address (e.g. 192.168.1.1 for PC), this will lead to a conflict and network disconnection. In this case, reset the network settings on the device or change the IP manually.
FAQ: Frequently asked questions about setting up IP for Wi-Fi
Can I use any IP address on my home network?
No, the IP address must be on the same subnet as the router and not conflict with other devices. For example, if the router has an address 192.168.1.1, then devices can be assigned addresses from 192.168.1.2 to 192.168.1.254, but not 192.168.2.x.
What if the IP address starts with 169.254?
This means the device was unable to receive settings from the router (DHCP issue). Check your network connection, reboot the router, or configure the IP manually. Also, make sure DHCP isn't disabled in your network settings.
How do I find out which IP address is free on the network?
You can use the command ping in the command line. For example, enter ping 192.168.1.100If the response is "Timeout exceeded," the IP is most likely free. You can also use a network scanner, for example Advanced IP Scanner.
Do I need to manually configure IP for my smartphone?
In most cases, no—smartphones automatically receive settings via DHCP. Manual configuration may only be necessary for specific tasks (for example, connecting to a corporate network with a fixed IP address).
Is it possible to use public DNS (such as Google or Cloudflare) instead of your provider's DNS?
Yes, it is safe and sometimes even preferable, as public DNS (eg. 8.8.8.8 or 1.1.1.1) can work faster. However, in some networks (for example, corporate ones), this may be prohibited by security policies.