User Tools

Site Tools


linux:network-autonomous-system-numbers-asn

Differences

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

Link to this comparison view

linux:network-autonomous-system-numbers-asn [2019/01/21 11:18] (current)
seanburns created
Line 1: Line 1:
 +<​markdown>​
 +# Find the ASN number
  
 +Based on a IP address, e.g.:
 +
 +```bash
 +$ ping www.uky.edu
 +```
 +
 +We find that 128.163.35.46 maps to www.uky.edu.
 +
 +Let's find the network range:
 +
 +```bash
 +# -A Perform AS path lookup
 +traceroute -A  128.163.35.46
 +```
 +
 +We find that two AS numbers, one for two administrative units of UK:
 +
 +University of Kentuky/​University of Kentucky, Communication Services
 +AS23162/​AS10437
 +
 +Then we can look up the network range at a site like this:
 +
 +```
 +https://​bgp.he.net/​AS23162#​_prefixes
 +```
 +
 +An alternate way is to perform a specific whois search, using radb.net, a
 +public routing registry:
 +
 +```bash
 +$ whois -h whois.radb.net 128.163.35.46
 +```
 +
 +Here we find both the network range and the AS number:
 +
 +- route: 128.163.0.0/​16
 +- origin: AS23162
 +
 +Now, let's see how many networks and hosts UK can have based on the route information.
 +</​markdown>​
linux/network-autonomous-system-numbers-asn.txt ยท Last modified: 2019/01/21 11:18 by seanburns