This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| computing:bgproutes [2026/08/11 11:20] – created oemb1905 | computing:bgproutes [2026/08/11 11:34] (current) – oemb1905 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ------------------------------------------- | ||
| + | * **bgp-routes** | ||
| + | * **Jonathan Haack** | ||
| + | * **Haack' | ||
| + | * **webmaster@haacksnetworking.org** | ||
| + | ------------------------------------------- | ||
| + | //BGP Routes// | ||
| - | telnet route-views.routeviews.org | + | ------------------------------------------- |
| - | show bgp ipv6 unicast 2604: | + | |
| + | 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' | ||
| + | |||
| + | < | ||
| + | telnet route-views.routeviews.org | ||
| + | show bgp ipv6 unicast 2604: | ||
| + | </ | ||
| + | |||
| + | Running that query now, provides the following output: | ||
| + | |||
| + | < | ||
| + | Trying 2001: | ||
| + | Connected to route-views.routeviews.org. | ||
| + | Escape character is ' | ||
| + | |||
| + | ********************************************************************** | ||
| + | |||
| + | RouteViews BGP Route Viewer | ||
| + | route-views.routeviews.org | ||
| + | |||
| + | | ||
| + | |||
| + | This hardware is part of a grant by the NSF. | ||
| + | |||
| + | | ||
| + | if you wish to contribute your view. | ||
| + | |||
| + | This router has views of full routing tables from several ASes. | ||
| + | |||
| + | The current list of all RouteViews peers is at | ||
| + | | ||
| + | |||
| + | NOTE: If you are using macOS and seeing the error message | ||
| + | " | ||
| + | add " | ||
| + | |||
| + | To login, use the username " | ||
| + | |||
| + | ********************************************************************** | ||
| + | |||
| + | |||
| + | User Access Verification | ||
| + | |||
| + | Username: rviews | ||
| + | route-views> | ||
| + | BGP routing table entry for 2604: | ||
| + | Paths: (11 available, best #11, table default) | ||
| + | Not advertised to any peer | ||
| + | Refresh Epoch 1 | ||
| + | 4826 3356 17098 | ||
| + | 2402: | ||
| + | Origin IGP, localpref 100, valid, external | ||
| + | Community: 3356:3 3356:22 3356:100 3356:123 3356:575 3356:601 3356:903 3356:2026 4826:5901 4826:6150 4826: | ||
| + | path 7F1611CA7ED8 RPKI State not found | ||
| + | rx pathid: 0, tx pathid: 0 | ||
| + | Refresh Epoch 1 | ||
| + | 1351 27552 3356 17098 | ||
| + | 2620: | ||
| + | Origin IGP, localpref 100, valid, external | ||
| + | path 7F1586CB1598 RPKI State not found | ||
| + | rx pathid: 0, tx pathid: 0 | ||
| + | Refresh Epoch 2 | ||
| + | 3303 3356 17098 | ||
| + | 2001: | ||
| + | Origin IGP, localpref 100, valid, external | ||
| + | Community: 3303:1004 3303:1007 3303:3066 3356:3 3356:22 3356:100 3356:123 3356:575 3356:601 3356:903 3356:2026 | ||
| + | path 7F16EDC49068 RPKI State not found | ||
| + | rx pathid: 0, tx pathid: 0 | ||
| + | Refresh Epoch 1 | ||
| + | 101 3356 17098 | ||
| + | 2001: | ||
| + | Origin IGP, localpref 100, valid, external | ||
| + | Community: 101:20100 101:20110 101:22100 101:24100 3356:3 3356:22 3356:100 3356:123 3356:575 3356:601 3356:903 3356:2026 | ||
| + | Extended Community: RT: | ||
| + | path 7F15DF560098 RPKI State not found | ||
| + | rx pathid: 0, tx pathid: 0 | ||
| + | Refresh Epoch 1 | ||
| + | 7018 3356 17098 | ||
| + | 2001: | ||
| + | Origin IGP, localpref 100, valid, external | ||
| + | Community: 7018:5000 7018: | ||
| + | path 7F1597C68258 RPKI State not found | ||
| + | rx pathid: 0, tx pathid: 0 | ||
| + | Refresh Epoch 1 | ||
| + | 57866 3356 17098 | ||
| + | 2A00: | ||
| + | Origin IGP, metric 0, localpref 100, valid, external | ||
| + | Community: 3356:3 3356:22 3356:100 3356:123 3356:575 3356:601 3356:903 3356:2026 57866:100 65100:3356 65103:1 65104:31 | ||
| + | unknown transitive attribute: flag 0xE0 type 0x20 length 0x30 | ||
| + | value 0000 E20A 0000 0064 0000 0D1C 0000 E20A | ||
| + | 0000 0065 0000 0064 0000 E20A 0000 0067 | ||
| + | 0000 0001 0000 E20A 0000 0068 0000 001F | ||
| + | |||
| + | path 7F1566DEBF90 RPKI State not found | ||
| + | rx pathid: 0, tx pathid: 0 | ||
| + | Refresh Epoch 1 | ||
| + | 49788 1299 3356 17098 | ||
| + | 2A02: | ||
| + | Origin IGP, localpref 100, valid, external | ||
| + | Community: 1299:4000 1299:20000 1299: | ||
| + | path 7F155FC96050 RPKI State not found | ||
| + | rx pathid: 0, tx pathid: 0 | ||
| + | Refresh Epoch 1 | ||
| + | 8283 57866 3356 17098 | ||
| + | 2A02: | ||
| + | Origin IGP, localpref 100, valid, external | ||
| + | Community: 3356:3 3356:22 3356:100 3356:123 3356:575 3356:601 3356:903 3356:2026 8283:15 57866:100 65100:3356 65103:1 65104:31 | ||
| + | unknown transitive attribute: flag 0xE0 type 0x20 length 0x3C | ||
| + | value 0000 205B 0000 0006 0000 000F 0000 E20A | ||
| + | 0000 0064 0000 0D1C 0000 E20A 0000 0065 | ||
| + | 0000 0064 0000 E20A 0000 0067 0000 0001 | ||
| + | 0000 E20A 0000 0068 0000 001F | ||
| + | path 7F16B9C69678 RPKI State not found | ||
| + | rx pathid: 0, tx pathid: 0 | ||
| + | Refresh Epoch 1 | ||
| + | 20912 6939 3356 17098 | ||
| + | 2001: | ||
| + | Origin IGP, localpref 100, valid, external | ||
| + | Community: 20912:65002 20912: | ||
| + | path 7F156339A928 RPKI State not found | ||
| + | rx pathid: 0, tx pathid: 0 | ||
| + | Refresh Epoch 1 | ||
| + | 20130 6939 3356 17098 | ||
| + | 2620: | ||
| + | Origin IGP, localpref 100, valid, external | ||
| + | path 7F157508F098 RPKI State not found | ||
| + | rx pathid: 0, tx pathid: 0 | ||
| + | Refresh Epoch 1 | ||
| + | 6939 3356 17098 | ||
| + | 2001: | ||
| + | Origin IGP, localpref 100, valid, external, best | ||
| + | path 7F16824DC778 RPKI State not found | ||
| + | rx pathid: 0, tx pathid: 0x0 | ||
| + | route-views> | ||
| + | </ | ||
| + | |||
| + | In the output above, you can clearly see '' | ||
| + | |||
| + | whois -h whois.cymru.com " | ||
| + | whois -h whois.cymru.com " | ||
| + | whois -h whois.cymru.com " | ||
| + | |||
| + | The top command, for example, provides: | ||
| + | |||
| + | < | ||
| + | AS Name | ||
| + | BROWNRICE-INTERNET-1 - Brownrice Internet, Inc., US | ||
| + | </ | ||
| + | |||
| + | 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 '' | ||
| --- // | --- // | ||