Answer the question
In order to leave comments, you need to log in
Is the correspondence of IP to regions stable?
Hello. I want to make a table of correspondence of the first three octets of the user's IP address to the country in the database. Is it likely that the address range will move from one region to another? Between countries? Between regions of the same country?
Answer the question
In order to leave comments, you need to log in
Blocks can be redistributed - times.
A huge operator like RT or TTK can have blocks and it can issue IPs throughout the country from one /24 network (unlikely, but technically very simple), the second option - a huge operator can shuffle the blocks at its discretion, depending on where the shortage arose or what - the client wanted, say, 512 addresses for use.
LIRs lease blocks only in this way, and blocks can be huge, 2-8 thousand addresses each - easily.
There is no table anywhere. Only in organizations distributing addresses can you find out the ownership of the block of the organization. In Europe, this is RIPE. The database is open.
Yes, address ranges are quite easily redistributed - even between countries, for example, providers providing services in several countries at once. Within the country, migration is even more frequent.
Look for Geo IP services. There are paid and free, incl. from large companies.
For example : https://freegeoip.net
Address ranges are not often, but still redistributed. especially blocks from old-timers, large providers - they can be stable there.
But, it is not entirely clear why the first three octets. The distribution of addresses is not by octets, but literally by bits.
In addition, a huge number of addresses in data centers that citizens can rent without reporting the country, plus vpn
And somewhere in the network you can find information on the current state of the allocation of blocks?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question