
Dear all, i'd like to know - does anybody use allocations list submitted by RIPE NCC in order to automatically extract info about national allocations ? For instance, when we need to define whether current IP-address belongs to RU provider we ask whois <IP-address> | grep "country: *RU" (i guess country field with correct country code presents in all of inetnums) however sometimes it's necessary to know all of IP-addresses that were allocated to national providers, so we've to get allocation file, find only RU entries and furher update our local database. Is there are any ways to know that RU LIR has been added to file ? With respect, --- RIPN Registry center -----

Dear Oleg, please have a look at the file "allocations" located at ftp://ftp.ripe.net//ripe/local-ir/ I think it contains the information you want and it is public. regards, Joao Damas RIPE NCC At 15:34 +0400 13/10/00, Oleg N. Bondarev wrote:
Dear all,
i'd like to know - does anybody use allocations list submitted by RIPE NCC in order to automatically extract info about national allocations ? For instance, when we need to define whether current IP-address belongs to RU provider we ask whois <IP-address> | grep "country: *RU" (i guess country field with correct country code presents in all of inetnums) however sometimes it's necessary to know all of IP-addresses that were allocated to national providers, so we've to get allocation file, find only RU entries and furher update our local database. Is there are any ways to know that RU LIR has been added to file ?
With respect, --- RIPN Registry center -----

Hello! I have similar problem: is it possible to extract list of AS numbers for specific country or list of all AS numbers sorted by country? And without writing to much code in perl, if possible ;) Regards, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Bartosz Gajda | Poznan Supercomputing and Networking Center email: gajda@man.poznan.pl | ul. Noskowskiego 10 http://www.man.poznan.pl | 61-704 Poznan, POLAND tel: (+48 61) 858 - 2072, 858 - 2015 fax: (+48 61) 8525 - 954 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ On Tue, 17 Oct 2000, Joao Luis Silva Damas wrote:
Dear Oleg,
please have a look at the file "allocations" located at ftp://ftp.ripe.net//ripe/local-ir/
I think it contains the information you want and it is public.
regards, Joao Damas RIPE NCC
At 15:34 +0400 13/10/00, Oleg N. Bondarev wrote:
Dear all,
i'd like to know - does anybody use allocations list submitted by RIPE NCC in order to automatically extract info about national allocations ? For instance, when we need to define whether current IP-address belongs to RU provider we ask whois <IP-address> | grep "country: *RU" (i guess country field with correct country code presents in all of inetnums) however sometimes it's necessary to know all of IP-addresses that were allocated to national providers, so we've to get allocation file, find only RU entries and furher update our local database. Is there are any ways to know that RU LIR has been added to file ?
With respect, --- RIPN Registry center -----

On Thu, 19 Oct 2000, Bartosz Gajda wrote:
I have similar problem: is it possible to extract list of AS numbers for specific country or list of all AS numbers sorted by country? And without writing to much code in perl, if possible ;)
The problem is that IPv4 address space and AS numbers don't carry any country information. Some clues about the region can be made, still it doesn't guarantee that an IP address or AS number assigned by RIPE NCC won't be used within US, while ARIN addresses might be used in Europe ... Furthermore, one AS can span among more than one single country. So - if you're looking for a certain method, the answer is: no, there is NO way to precisely define the country element of IP/AS numbers. Regards, Beri --------- Berislav Todorovic, Network Engineer --------- ------- KPNQwest N.V. - IP NOC (formerly EUnet NOC) ------- ---- Wilhelmina van Pruisenweg 78, 2595 AN Den Haag, NL ---- --- Phone: +31-70-379-3990; Mobile: +31-651-333-641 --- -- Email: beri@kpnqwest.net <=> beri@EU.net -- --- _ _ ____ _ .--. ____ ____ __/_ --- ----- /__/ /___/ /\ / / / | / /___/ /___ / ------ ------ _/ \_ / _/ \/ (__.\ |/\/ /___ ____/ (__. -----

The problem is that IPv4 address space and AS numbers don't carry any country information. Some clues about the region can be made, still it doesn't guarantee that an IP address or AS number assigned by RIPE NCC won't be used within US, while ARIN addresses might be used in Europe ...
But inetnum has "country" field which is mandatory and if I look for related "route" object, it has "origin" field with AS number. It is possible to make script working in this way, but I hoped, that RIPE has such list with AS numbers. Regards, Bart
Furthermore, one AS can span among more than one single country.
So - if you're looking for a certain method, the answer is: no, there is NO way to precisely define the country element of IP/AS numbers.
Regards, Beri
--------- Berislav Todorovic, Network Engineer --------- ------- KPNQwest N.V. - IP NOC (formerly EUnet NOC) ------- ---- Wilhelmina van Pruisenweg 78, 2595 AN Den Haag, NL ---- --- Phone: +31-70-379-3990; Mobile: +31-651-333-641 --- -- Email: beri@kpnqwest.net <=> beri@EU.net -- --- _ _ ____ _ .--. ____ ____ __/_ --- ----- /__/ /___/ /\ / / / | / /___/ /___ / ------ ------ _/ \_ / _/ \/ (__.\ |/\/ /___ ____/ (__. -----

On Thu, 19 Oct 2000, Bartosz Gajda wrote:
But inetnum has "country" field which is mandatory and if I look for related "route" object, it has "origin" field with AS number.
OK - but again: if you have an IP network used for router point-to-points and loopbacks and your network spreads worldwide - what's the usefulness of the country information in inetnum object? Same thing (or even more difficult) are AS numbers - they can spread across few dozens of countries. Regards, Beri --------- Berislav Todorovic, Network Engineer --------- ------- KPNQwest N.V. - IP NOC (formerly EUnet NOC) ------- ---- Wilhelmina van Pruisenweg 78, 2595 AN Den Haag, NL ---- --- Phone: +31-70-379-3990; Mobile: +31-651-333-641 --- -- Email: beri@kpnqwest.net <=> beri@EU.net -- --- _ _ ____ _ .--. ____ ____ __/_ --- ----- /__/ /___/ /\ / / / | / /___/ /___ / ------ ------ _/ \_ / _/ \/ (__.\ |/\/ /___ ____/ (__. -----
participants (4)
-
Bartosz Gajda
-
Berislav Todorovic
-
Joao Luis Silva Damas
-
Oleg N. Bondarev