wikiroute

networking recipes

User Tools

Site Tools


who_is_using_this_ip_address

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
Next revisionBoth sides next revision
who_is_using_this_ip_address [2014/02/09 13:04] – [3- A Do-It-Yourself BGP Query Service] samerwho_is_using_this_ip_address [2014/02/09 13:14] – [Basic Steps] samer
Line 131: Line 131:
 </code>  </code> 
  
-Use any scripting language to perform best prefix match and output the origin AS of your desired IP prefix.+Here is typical line in the dumped file, where you can see the prefix ''148.60.0.0/16'' and the AS-PATH ending by the originating AS ''2200''
 +<code> 
 +TABLE_DUMP2|1389513606|B|85.132.60.10|29049|148.60.0.0/16|29049 1273 2200|IGP|85 
 +.132.60.10|0|0|1273:12250 2200:1000 2200:2200|NAG|| 
 +</code> 
 + 
 +Now you can use your favorite scripting language to extract IP to AS mappings and perform a best prefix match.
who_is_using_this_ip_address.txt · Last modified: 2014/02/15 23:31 by samer