0

What is a valid public IP address? When I was checking my ID to see if it was blacklisted, it came up with the above Amanda… "Please enter a valid public IP address,", so therefore my questions are:

  1. What is a valid public IP address?
  2. Why don't I have A valid public IP address and how did I get an invalid one?
  3. Why is my Geo location off by over 40 miles on this my IP address ?

Edit:

  • 1st IP address:2600:1010:b00b:ecde:3862:7548:5dad:a45a
  • 2nd IP address: 169.254.30.247
  • 3rd IP address: 10.232.222..212

Thank you for your answer back the location services always find my exact location… And the bizarre number of ideas that I have on my 6S plus.... It's odd .

  • What are the first two octets of your IP address? – Ron Maupin Jun 26 '16 at 17:18
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer. – Ron Maupin Aug 30 '17 at 20:04
11

You have not provided much information to use, but I will attempt to answer your questions. A valid, public IP address is one which the ISPs have agreed to route on the public Internet. For the most part, any IPv4 address, which doesn't fall into any of the ranges which IANA considers as not globally routable, is a valid, public IPv4 address.

If the IPv4 address you are using to get an invalid public IP address is from behind your router, it is likely an RFC 1918 private address, and those are not globally routable. In that case, any publicly routable address you may have is on the WAN interface of your router.

Some IPv4 and IPv6 addresses are considered Special-Purpose Addresses, and many of those are not to be routed on the public network. The IANA IPv4 Special-Purpose Address Registry has a table of these for IPv4, and it details if they can be routed or used globally:

enter image description here

The RIRs have run out of public IPv4 addresses to assign to ISPs, and the ISPs are turning to CGN (Carrier-grade NAT) to conserve their pools of public addresses. This means that your ISP could assign you a CGN or private address which is not globally routable. This has caused problems for some customers of the ISPs.

Geolocation is not particularly accurate. There is no standard, and each service does it differently using various data gathered from various sources. My address usually shows up over 1000 miles from my location (the headquarters of my ISP, not my location). A discrepancy of 40 miles is really not too bad.

Edit:

Your first address is an IPv6 address, and it is a valid, public IPv6 address. If this address is coming back as an invalid public address, it is likely that you are using something which only accepts IPv4 addresses.

Your second address is a link-local IPv4 address, which is not a public IPv4 address, nor is it routable. It is listed in the IANA registry.

Your third address is a private address, per RFC 1918, and while it is routable, it is not publicly routable. If this address is from your ISP, your ISP is using CGN. The address could be assigned on your network. In either case it is not routable on the public Internet, and it must be translated, either by your router or by your ISP, to a public address before it gets to the public Internet.

0

An IP address is considered public if it can be used on the Internet. Public IP addresses have different IP number ranges than private IP addresses. Public IP addresses are used by Internet servers including those for Web sites and DNS servers, broadband routers and other network gateways, or any computer connected directly to the Internet. Each public address belongs to a range or block of addresses. The Internet Assigned Numbers Authority (IANA) controls ownership of these IP ranges and assigns each block to organizations such as Internet Service Providers (ISPs) who in turn allocate individual IP addresses to customers.

0

What is a valid public IP address?

An address that has been allocated by IANA or a RIR to a network for use on the public internet.

Why don't I have A valid public IP address and how did I get an invalid one?

Most mobile networks don't give out public IPv4 addresses to their users. Instead they run NAT at the ISP level.

Why is my Geo location off by over 40 miles on this my IP address ?

IP geolocation is not an exact science. It usually gets the country right but anything beyond that is highly dubious.

2600:1010:b00b:ecde:3862:7548:5dad:a45a

This is a public address but it's an IPv6 one, many sites still haven't caught up with ipv6.

169.254.30.247

This is a link-local address, packets to/from this address are non-routable. The normal convention with IPv4 is only to use link local addresses when there is no other address assigned to an interface. I'm not sure why your phone has picked this up, maybe a secondary network interface (wifi?) or something.

10.232.222.212

This is a private IP address, it is routable within your provider's network but not on the Internet in general. There will be a network address translator at your provider which will share a pool of public IP addresses between customers.

the location services always find my exact location

Android's location services do not rely on IP geolocation. They use a combination of data sources including GPS (if enabled), cell tower IDs and wifi access points in the vicinity.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.