User Tools

Site Tools


computing:bgproutes

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
computing:bgproutes [2026/08/11 11:30] oemb1905computing:bgproutes [2026/08/11 11:34] (current) oemb1905
Line 11: Line 11:
 ------------------------------------------- -------------------------------------------
  
-To confirm BGP routes from within a live routing table on the internet, one can use routeviews.org with telnet. Here is how I check routes for my Data Center's ipv6 /32:+I came up with this after a 96 hour outage. It avoids using proprietary websites and tools, i.e., looking glass sites, etc. To To confirm BGP routes from within a live routing table on the internet, one can use routeviews.org with telnet. Here is how I check routes for my Data Center's ipv6 /32:
  
-   telnet route-views.routeviews.org +<code> 
-   show bgp ipv6 unicast 2604:fa40::/32 +telnet route-views.routeviews.org 
 +show bgp ipv6 unicast 2604:fa40::/32  
 +</code>
        
-Running that query, provides the following output right now:+Running that query now, provides the following output:
  
 <code> <code>
Line 144: Line 146:
 </code> </code>
        
-I came up with this after a 96 hour outage. It avoids using proprietary websites and tools, i.e., looking glass sites, etc. To parse the output, one needs to look up the ASN numbers, which is trivial if you use ''whois'' against ''cymru.com'':+In the output aboveyou can clearly see ''3356 17098'', which can be parsed by using ''whois'' against ''cymru.com'' data as follows:
  
   whois -h whois.cymru.com "AS17098"   whois -h whois.cymru.com "AS17098"
Line 157: Line 159:
 </code> </code>
  
-After that, look for priority in two ways. One the side by side ASN number will be the secondary route if no others are advertised. If there are two or more additional routes, look for which one has ''best'' in order to know which has priority, etc.+After that, look for priority in two ways. One the side by side ASN number will be the secondary route if no others are advertised. If there are two or more additional routes, look for which one has ''best'' in order to know which has priority, etc. If there is no secondary/additional route, then the ASN won't be in the output.
        
  --- //[[alerts@haacksnetworking.org|oemb1905]] 2026/08/11 11:20//  --- //[[alerts@haacksnetworking.org|oemb1905]] 2026/08/11 11:20//
computing/bgproutes.1786447810.txt.gz · Last modified: by oemb1905