Deprecated: crypt(): Supplied salt is not valid for DES. Possible bug in provided salt format. in /home/public/hivemind/pmwiki.php on line 2067
the Hive Mind | Main / ListAllIPRangesOnASN
Recent Changes - Search:

the Hive Mind

PmWiki

Peak 15

edit SideBar

ListAllIPRangesOnASN

List All IP Address Ranges on an ASN

This can be used to list, for example, all likely possible dynamic public IP address that could be assigned to your WAN modem.

An Automated Service Number identifies a collection of IP routing prefixes under the control of a network operator which defines the routing policy for these IP ranges to the Internet. For example, my home connection is part of ASN AS10796 owned by Time Warner Cable, which includes the following IP ranges (in CIDR notation):

24.106.248.0/22
24.106.64.0/19
24.123.0.0/20
24.123.160.0/20
24.123.192.0/20
24.123.208.0/20
24.145.140.0/22
24.145.158.0/23
...
and many more...

Look Up ASNs

One-Liner to List All IP Ranges on an ASN Given an IP Address

From James Barnett.

Where $IP_ADDR is an IP address from the ASN you want to list (such as your own public IP):
whois -h whois.radb.net -i origin -T route $(whois -h whois.radb.net $IP_ADDR | grep origin: | cut -d ' ' -f 6 | head -1) | grep -w "route:" | awk '{print $NF}' | sort -n


Categories:

UNIX - Networking

Edit - History - Print - Recent Changes - Search
Page last modified on January 11, 2014, at 06:04 AM