With the Ruhr-CIX looking glass service, it is possible to easily search for an AS number, a peer or a particular IP prefix. In addition, the looking glass service provides information on why a certain route is rejected by the route server (e.g. due to IRR filters). Below you can find a detailed explanation of how to use the looking glass, how to narrow down search results, what exactly you can see, some typical search examples, and more information about query strings and how to use the API in your own scripts.
The Ruhr-CIX Looking Glass utilizes the open source projects Alice-LG and birdwatcher. A big thank you to all who contributed to these projects!
How to use the Ruhr-CIX Looking Glass
There are two basic ways to get information:
- The global search over all route servers (1)
- The neighbor overview (2)
With the global search, you can search for IP prefixes, peer names, or ASNs. This is the fastest way if you need to get information about a specific network.
With the neighbor overview, you can have a look at a specific route server. It shows you which networks are available at a specific route server, provides BGP session information (state, last state changed), and gives you a summary of received/accepted/filtered routes from each peer.
The global search over all route servers
With the global search, you can search across all Ruhr-CIX route servers. You can directly search for:
- Peers (by name, e.g. Packet Clearing House)
- ASNs (by prefixing AS, e.g. AS42)
Just type in what you're looking for.
Narrow down the search results
On the results page, it is possible to narrow down the search results with three drop-down menus on the right. You can refine your search by:
- Route server
- Neighbor (in case your search matches more than one route server peer)
- BGP Communities (multiple BGP Community values can be selected; the Communities are ordered by value)
The selected filters appear above the drop-down field and can be removed easily by clicking the red 'X' icon.
Please note: The database that is used to generate the search results in the global search contains data that may be up to 30 minutes old. The actual cache age is displayed in the upper right corner.
The neighbor overview
Using the neighbor overview, you can have a look at individual Ruhr-CIX route servers and their BGP peers (and their current status, e.g. session up, down, or errors).
To start the overview, select a Ruhr-CIX route server. This will result in a view that contains all peers that are known to the selected route server. All table columns are sortable in ascending or descending order, and data in this view is cached for approximately three minutes.
Narrow down the displayed data
With the search bar at the top, you can narrow down the data displayed. You can search for:
- Neighbor IP
- Peers (e.g. Packet Clearing House)
- ASNs (e.g. 42)
Get information about specific route server neigbor
You can see more information about a specific route server neighbor by clicking on its neighbor IP. Data in this view is cached for five minutes. All routes (filtered, accepted, and not exported) are shown. If the selected peer operates more than one router, you can switch between routers by clicking the tabs shown at the top. There are also quick links available to jump to sections with filtered, accepted and not exported routes directly. Routes that are the best path are marked with a star icon.
If a route is rejected, the reason is displayed in text below the affected route. You can hover over the text to get a detailed explanation of what went wrong and how to fix it. You can also click on the reject reason to explore the route in question in the IRR Explorer.
To get more detailed information about a route, just click on it. This will show you the BGP attributes:
- Origin of the route (IGP/EGP/unknown)
- Local Preference
- BGP next-hop
- AS Path
- BGP Standard, Extended and Large Communities in human readable format if known by the route server (i.e. UAE-IX Action and Informational Communities and well-known BGP Communities)
Typical search examples
Find out which prefixes are filtered on your session(s)
- Enter your ASN in the global search field on the start page
- A list of prefixes from your ASN on all route servers is shown
- Filtered prefixes are shown at the top of the page (before accepted routes)
- You can narrow down your search by using the dropdown menus on the right
- You can click on the link in the description column to go the corresponding route server for the selected prefix
Find out which prefixes are blackholed by a peer, e.g. AS15169
- Enter AS15169 in the global search field on the start page
- A list of prefixes from AS15169 on all route servers is show
- Look for prefixes with a blackhole icon or narrow down your search by selecting '(65535:666) BLACKHOLE (RFC7999)' from the BGP Communities dropdown on the right
- Now you see all prefixes blackholed by AS15169
- If '(65535:666) BLACKHOLE (RFC7999)' does not show up in the dropdown menu, the peer does not blackhole any prefixes.
Using query strings
It is possible to use query strings in URLs, e.g. in bookmarks:
- Search for a prefix (e.g. 126.96.36.199/17) in the global search (lookup on all route servers): https://lg.ruhr-cix.net/search?q=188.8.131.52/17
- Search for AS15763 on route server rs1_dtm_ipv4*: https://lg.ruhr-cix.net/routeservers/rs1_dtm_ipv4?s=asn&o=asc&q=15763
- Search for "DOKOM" on route server rs1_dtm_ipv4*: https://lg.ruhr-cix.net/routeservers/rs1_dtm_ipv4?s=asn&o=asc&q=DOKOM
- Search for prefixes advertised by peer with ID R197_3 (this ID corresponds to the last two octets of the peering LAN IP address) on route server rs1_dtm_ipv4*: https://lg.ruhr-cix.net/routeservers/rs1_dtm_ipv4/protocols/R197_3/routes
* Just replace rs1_dtm_ipv4 with the corresponding RS
Use the API in your own scripts
Alice provides a JSON API for all Ruhr-CIX route servers. You can use the API in your own scripts. The following endpoints are available:
|/api/v1/status||Query the status of Alice|
|/api/v1/routeservers/rs1_dtm_ipv4/status||Query the status of route server rs1_dtm_ipv4|
|/api/v1/routeservers/rs1_dtm_ipv4/neighbors/R197_3/routes/received||Query route server rs1_dtm_ipv4 for a list of received routes from peer R197_3 (184.108.40.206)|
|/api/v1/routeservers/rs1_dtm_ipv4/neighbors/R197_3/routes/not-exported||Query route server rs1_dtm_ipv4 for a list of routes not exported to peer R197_3 (220.127.116.11)|
|/api/v1/routeservers/rs1_dtm_ipv4/neighbors/R197_3/routes/filtered||Query route server rs1_dtm_ipv4 for a list of filtered routes from peer R197_3 (18.104.22.168)|
|/api/v1/routeservers/rs1_dtm_ipv4/neighbors/R197_3/routes||Query route server rs1_dtm_ipv4 for a list of accepted routes from peer R197_3 (22.214.171.124)|
|/api/v1/routeservers/rs1_dtm_ipv4/neighbors||Query route server rs1_dtm_ipv4 for a list of its neighbors|
|/api/v1/routeservers||Query a list of route servers known to Alice|
|/api/v1/lookup/prefix?q=126.96.36.199/17||Query Alice for prefix 188.8.131.52/17|
|/api/v1/config||Query the Alice configuration|
If you have any questions, please feel free to contact us!