How to find an IP address: your computer, router and a website, internal and external

A computer usually has two addresses, and when people ask “what is my IP” they mean one or the other. The internal one was handed out by the router and is visible only on your network. The external one was assigned by the operator or provider, and websites see it. Below is where to look for each on Windows per Microsoft’s help, how to find the router’s and a website’s address, and what a connected VPN does to an address.

In short. A computer’s internal address: “Settings” → “Network & internet” → Wi-Fi or Ethernet → the “IPv4 address” line, or the ipconfig command. The router’s address is the “default gateway” line of the same command. The external address websites see is shown by our “My IP” page. A website’s address: nslookup site-name. An internal address looks like 192.168.x.x, 10.x.x.x or 172.16–31.x.x and means nothing outside your network. A connected VPN changes the external address, and you can check that in half a minute.

We make Mayak, a private network with an Android app. This article is about addresses, not about our product; but how the external address changes while protection is on can be checked in a minute on the “My IP” page.

Two addresses: internal and external

The internal address is handed to your computer by the router. Per Microsoft’s help, with automatic setup (DHCP) the address is “set automatically by your router or other access point”. Most often it comes from the private blocks: RFC 1918 lists them as 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255 and 192.168.0.0–192.168.255.255 and says private addresses “have no global meaning”. So it is pointless to read such an address out to anyone outside: your neighbour’s device can have exactly the same one.

The external address is the one your network shows to the internet. Your operator or provider assigns it, and websites see it. On mobile internet and at some providers it can be shared by many subscribers: RFC 6598 sets aside the block 100.64.0.0/10 as “Shared Address Space”, designated for service providers “with the purpose of facilitating CGN deployment” (address translation on the operator’s side). Our “My IP” page says the same in plain words: on mobile internet hundreds of subscribers often share one address.

If you need the “IP of your computer” to set up a printer, a router port forward or a game on the local network, that is the internal address. If you need “my IP” for a website or a support team, that is the external one.

What you needWhere to lookWhose address it isSource
Your computer’s address on the home network (internal) Windows: “Settings” → “Network & internet” → Wi-Fi or Ethernet → the “IPv4 address” line; or the ipconfig command Visible only inside your network; most often from the 10.x.x.x, 172.16–31.x.x or 192.168.x.x blocks Microsoft’s help; Microsoft’s ipconfig reference; RFC 1918
The router’s address (default gateway) The same ipconfig command, the “Default gateway” line The address the computer talks to in order to leave its own network Microsoft’s Wi-Fi help, the step about checking the router connection
Other devices on the network The arp -a command Addresses and physical addresses the computer has already learned; it is a cache, not a full list Microsoft’s arp reference
The address websites see (external) The “My IP” page — the check runs right in the browser Assigned by your operator or provider; on mobile internet the address may be shared with other subscribers Our “My IP” page; RFC 6598
A website’s address nslookup site-name or ping site-name (the address is in square brackets) The address of the server DNS returned; one site can have several Microsoft’s nslookup and ping references

The internal address and the router’s address on Windows

Through settings. Per Microsoft’s help: Start → Settings → Network & internet, then Wi-Fi (and your network) or Ethernet — the value sits next to the “IPv4 address” line. For a quick summary the help mentions a Properties icon next to the connected network. Item names are what the English help uses: in your version of Windows they may differ.

Through a command. Open a command prompt and type ipconfig. Microsoft’s reference: without parameters the command shows the IPv4 and IPv6 addresses, the subnet mask and the default gateway for all adapters; with the /all switch, the full configuration. The Default gateway line is the address Microsoft’s Wi-Fi troubleshooting help uses in its router-check step: “find the IP address listed next to Default gateway for that Wi-Fi network” and ping it with the ping command.

If the address looks like 169.254.x.x. Microsoft’s help: it means Windows could not get an address from the router; check whether DHCP is enabled on the router. The order of checks is in the article “Connected, no internet access”.

Want to see how the external address changes? Open “My IP”, write the address down, turn Mayak on and press “Check again”. We do not ask for payment details for the trial. 3 days free once you sign up with your email.

What happens next.

  1. Create an account in the dashboard: an email and a password, no card needed.
  2. Install the app: from Google Play or as a file from our site. On the first connection Android shows a connection-request window: that is expected.
  3. Press one button, wait for the “Protected” state and refresh the “My IP” page: the address should be different.

What other devices are on the network

Per Microsoft’s reference, arp -a shows the current ARP entries: the table stores IP addresses and the physical addresses found for them, with a separate table for each network adapter. It is a cache: it holds what the computer has already learned, not necessarily every device on the network. That is our inference from what a cache is; we did not compare the list against a live network.

The router itself has the full list of devices in its settings. Every router’s items are different and we do not describe them: we read no router maker’s help for this article.

The external address: what websites see

Open the “My IP” page: it asks for the address right in the browser and shows IPv4 and IPv6 separately; we do not save the result (the page itself says so).

This number has two quirks. First, it gives an approximate place, not an exact one: the “My IP” page says that what is determined is where the address range is registered, and an error of hundreds of kilometres is common. Second, an address is not a name: while you are signed in to your email or a social network, you are recognised by the account whatever the address is (also from that page).

If the router shows one address and the page another. The address on the router’s side can come from a private block or from the 100.64.0.0/10 block, while websites see a different one. Per RFC 6598 that block is reserved for operator equipment that translates addresses. So there is one more such layer between your router and the internet; this is an inference from the document, and we did not check it at any operator.

How to find a website’s IP address

Per Microsoft’s reference, in single-command mode nslookup site-name takes the name, and the second parameter is the name or address of a DNS server; if there is no second one, the default server is used. The -type=AAAA option returns only IPv6 records, and -type=A+AAAA returns both kinds.

The second way is ping site-name: in the example from the same reference the address stands in square brackets after the name. The same reference says that if pinging the address works but pinging the name does not, you may have a name-resolution problem, that is, a DNS one. We cover such a problem in the article about browser error codes.

A site can have several addresses: the -type=A+AAAA option shows both kinds at once. And that the answer depends on which DNS server you ask is visible from nslookup’s syntax itself: the second parameter is exactly the server. How many addresses a particular site has, we did not measure.

And on a phone

A phone’s external address is shown by the same “My IP” page, opened in the phone’s browser. That is the shortest route: the page does not depend on the phone’s system. We did not open it on a live phone for this article.

The internal address is harder. Apple’s help “Use private Wi-Fi addresses on Apple devices” is about a device’s Wi-Fi address, that is, the physical (MAC) address, not the IP: it gives no path to the IP address. Samsung’s help about the Wi-Fi address says where to see the MAC (“Settings” → “About phone” → “Status”) and says nothing about the IP either. We found no Google help with a path to a phone’s IP address. So we do not invent menu items for phones here: look for the connected Wi-Fi network’s details in settings, and see the list of all devices’ addresses in the router’s settings.

What changes when protection is on

The external address changes: with Mayak on, websites see the address of our server in the country you chose, not yours (as the “My IP” page says). The check is simple and we described it in the article “How to check that your VPN works”: open the page without protection and write the address down, turn protection on, press “Check again”. If the address did not change, it is usually one of three causes: the tunnel did not come up, the page is shown from the cache (refresh with Ctrl+F5), or the app is sent around the tunnel in the exclusion list.

As for the internal address: the router hands it to your device, not to our server. How the adapter list in ipconfig looks with the tunnel on we did not compare on a live Windows, so we claim nothing about it.

How an address differs from a name, and whether you can stay unrecognised, is covered in the article about a Russian address from abroad; how an address relates to the protocol version is in the article about IPv4 and IPv6.

What we do not promise

That your Windows shows the same names as in our translations of the English help. That a lookup database will name your city from the address: the “My IP” page itself says the accuracy is modest. That changing the address makes you unknown to a site: it does not, while you are signed in to your own account.

What we checked

  • Microsoft’s help “Essential network settings and tasks in Windows” (the path Network & internet → Wi-Fi or Ethernet → “IPv4 address”, the address set by the router under DHCP) and “Fix Wi-Fi connection issues in Windows” (the router-check step, the 169.254.x.x address) — read on 21 November 2026.
  • Microsoft Learn’s references for ipconfig, arp, nslookup and ping — 21 November 2026.
  • RFC 1918 (private address blocks) and RFC 6598 (the 100.64.0.0/10 block for operator equipment) — 21 November 2026.
  • Apple’s help “Use private Wi-Fi addresses on Apple devices” and Samsung’s help about the Wi-Fi address — 21 November 2026.
  • Our “My IP” page and the article “How to check that your VPN works”.

What we do not know

  • How all this looks on a live Windows machine and phone: we ran none of the commands.
  • What the items are called in a Russian-language Windows: the names come from the English help.
  • Where to see the IP address on Android and iPhone: the Apple, Samsung and Google help we read gives no path.
  • How to look at addresses on Mac and Linux: we read no help for them.
  • How particular routers are set up and whether your operator uses a shared address.

Short answers

How do I find my computer’s IP address? On Windows: “Settings” → “Network & internet” → Wi-Fi or Ethernet → the “IPv4 address” line, or the ipconfig command. It is the internal address, visible only on your network.

How do I find my external IP? Open the “My IP” page: it shows the address websites see.

How do I find the router’s IP address? With ipconfig: the Default gateway line.

How do I find a website’s IP address? With nslookup site-name or ping site-name.

Why does an internal address start with 192.168? It is one of the private blocks in RFC 1918: such addresses are not passed on to the internet and repeat across different networks.

Try Mayak

A secure connection for Android, and articles where other people’s words come with a publication and a date, and our own numbers come with a measurement. 3 days free, no card needed.

The account is created right in the app. 3 free days once you sign up with your email.