Just like the question states. Is it somehow possible to get the IP address of a network that you don't have access to? For example, if you click the little wifi button on your task bar, and highlight your cursor over one of the options, you get some info. But your external IP address is actually the address of the router, isn't it? Which would mean you would have to connect to the wifi, and then the router to get an IP address, correct?

I realy just want a simple answer: No or Yes and here's how

  • If you are referring to a private IP address, no - that is assigned to your computer after connection. As for the AP's public IP address, the term is somewhat ambiguous - the IP address assigned to the router might not be "public" if it is behind a switch or other network device. The information your computer displays about an AP before a connection is established is obtained from information being broadcast by the router. Jun 12 '14 at 2:33
  • 1
    If the network is properly encrypted you get nothing. Else you could potentially get anything just by sniffing (private IP is trivial with kismet, and public IP is unlikely).
    – LatinSuD
    Jun 12 '14 at 17:16
  • Simple answers, like Yes/No/Maybe, are frowned upon here. People are required to add some short explanation, lest their posts be deleted as unhelpful. Jun 24 '15 at 6:34
  • You may learn the public IP of the network, whatever it may be, only if someone if transmitting it in plain text, which in a properly encrypted wifi network will never happen. As to the headers of frames, they never carry such info. Intruders, on the other hand, are much more interested in the LAN, private network, which you can easily identify with any sniffing tool. Jun 24 '15 at 6:38
  • A network does not have an IP address. Devices have IP addresses, so which device's IP address do you want to get? Sep 2 '15 at 14:34


And the answer is the OSI Model. Wifi technologies, uses IEEE 802.11 standard who works in First and Second layer in the OSI Model.

Asuming that statements, you can't get a Layer 3 protocol as IPv4 or v6 if not even reach the lower layers.


Simple answer: No.

When you aren't connected you have no way of knowing what the IP is even if you create something that "remembers" the IP when you were last connected, because the IP might change every 10 seconds for all you (or your computer) knows.

Your public IP is the public IP of the router. The IP of the router that your computer sees is the private IP of the router. The above explanation was written for the public IP, but the same would hold true for the private IP (though it would be much less likely to change regularly).