User Tools

Site Tools


networking:asn_autonomous_system_number

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
networking:asn_autonomous_system_number [2021/01/04 15:18] – [How to find a specific ASN] peternetworking:asn_autonomous_system_number [2021/01/04 16:36] (current) peter
Line 1: Line 1:
 ====== Networking - ASN (Autonomous System Number) ====== ====== Networking - ASN (Autonomous System Number) ======
  
-An **[[https://en.wikipedia.org/wiki/Autonomous_system_(Internet)|ASN (Autonomous System Number)]]** refers to a block of IP addresses.+[[Networking:ASN (Autonomous System Number):About ASN (Autonomous System Number)|About ASN (Autonomous System Number)]]
  
-Most large organizations or ISPs are allocated a number of ASNs.+[[Networking:ASN (Autonomous System Number):Determine which IPs actually fall into an ASN|Determine which IPs actually fall into an ASN]]
  
-ASNs can be useful to block an entire organization. Instead of manually having to add hundreds of IP addresses into firewall rule, you can simply block the entire ASN, which blocks all IPs within that ASN.+[[Networking:ASN (Autonomous System Number):Find specific ASN|Find a specific ASN]]
  
----- +[[Networking:ASN (Autonomous System Number):Use an ASN to Create an IP Blocklist|Use an ASN to Create an IP Blocklist]]
- +
-===== How to find a specific ASN ===== +
- +
-There are many search tools online such as https://www.ultratools.com/tools/asnInfo. +
- +
-For example, searching for **Google** returns a number of ASNs. +
- +
-{{:networking:asn_-_search_-_google.png?800|}} +
- +
----- +
- +
-===== Determine which IPs actually fall into an ASN ===== +
- +
-Taking AS41264 from the above search as an example: +
- +
-<code bash> +
-whois -h whois.radb.net -- '-i origin AS41264' | grep ^route | grep -v route6 | cut -d" " -f7 | most +
-</code> +
- +
-returns: +
- +
-<code bash> +
-74.125.63.0/24 +
-74.125.58.0/24 +
-74.125.60.0/24 +
-104.132.0.0/16 +
-104.132.0.0/23 +
-104.132.2.0/23 +
-104.132.4.0/23 +
-104.132.6.0/23 +
-104.132.8.0/23 +
-104.132.10.0/23 +
-... +
-</code> +
- +
----- +
- +
-===== References ===== +
- +
-https://www.apnic.net/get-ip/faqs/asn/ +
- +
-https://en.wikipedia.org/wiki/Autonomous_system_(Internet) +
- +
-https://www.ultratools.com/tools/asnInfo+
  
networking/asn_autonomous_system_number.1609773530.txt.gz · Last modified: 2021/01/04 15:18 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki