I’m currently implementing a IP-to-country feature for a client in the US. The problem is that when he does some tests by using machines in the US, some of the incoming IPs to his website are identified as Japanese IPs. My log file shows that those IPs start with 150.x.x.x and belongs to JAPAN NETWORK INFORMATION CENTER. He guarantees that when he checked IPs of those machines, they were shown as from the US.
More information: I use request.UserHostAddress (C#) to retrieve client’s IP.
So my question is: what is the possible network configuration which can cause this issue?
Thank you in advance.
Edit: How about the situation in which a US user is using internet service of a Japanese company in the US?
Please ask where did he see that information, i.e. how did he geolocated.
Well, this is the public IP. This can be the IP of the last peer. May be a proxy, a VPN router, (remote) office gateway.
Two most commonly used ways to have IP from different country:
1. Proxy
2. VPN