Looking Glass Bgp As Number Assignment


The country code, registry, and allocation date are all based on data obtained directly from the regional registries including: ARIN, RIPE, AFRINIC, APNIC, LACNIC. The information returned relating to these categories will only be as accurate as the data present in the RIR databases.

IMPORTANT NOTE: Country codes are likely to vary significantly from actual IP locations, and we must strongly advise that the IP to ASN mapping tool not be used as an IP geolocation (GeoIP) service.

The exact links for each of the datasets are as follows:

  • ftp.arin.net/pub/stats/arin/delegated-arin-extended-latest
  • ftp.ripe.net/ripe/stats/delegated-ripencc-latest
  • ftp.afrinic.net/pub/stats/afrinic/delegated-afrinic-latest
  • ftp.apnic.net/pub/stats/apnic/delegated-apnic-latest
  • ftp.lacnic.net/pub/stats/lacnic/delegated-lacnic-latest

The ASN descriptions are based on data obtained from cidr-report. (http://www.cidr-report.org/)

If you are looking for an IP geolocation service, please check out one of the following (note: links do not constitute an endorsement, please contact us if you have a major commercial or free IP geolocation service you would like listed here):

  • MaxMind  http://www.maxmind.com/app/ip-location
  • IP2Location http://www.ip2location.com/
  • Quova  http://www.quova.com/

To obtain more details about peering – Below is a list of most common looking glass :

  • BGP Origin ASN
  • BGP Peer ASN
  • BGP Prefix
  • Prefix Country Code (assigned)
  • Prefix Registry (assigned)
  • Prefix Allocation date
  • ASN Country Code (assigned)
  • ASN Registry (assigned)
  • ASN Allocation date
  • ASN Description

Cogent : http://www.cogentco.com/en/network/looking-glass

Level 3 : http://www.globalcrossing.com/network/network_looking_glass.aspx

GTT / Tinet : http://www.gtt.net/services/ip-transit/gtt-tinet-looking-glass/

HE : http://lg.he.net/

NTT : https://www.us.ntt.net/support/looking-glass

Global Crossing : http://lg.bt.net/

DE Telecom : https://s-lga1.s.de.net.dtag.de/index.php?pageid=lg

SAVVIS : http://as3561lg.savvis.net/lg.html

Sprint : https://www.sprint.net/lg

Vodafone : https://support.cw.com/?TESTDRIVE=1&LG=1

KPN : http://stats.eurorings.net/cgi-bin/lg.cgi

Earthlink : http://lg.eastlink.ca/

XO : http://xostats.xo.com/cgi-bin/xostats/diagtool-pub

TATA : http://lg.teleglobe.net/lg/

Tinet : http://www.ip.tiscali.net/lg/

Quest : http://stat.qwest.net/looking_glass.html

Centauri : http://lg.centauricom.com/lg/lg.cgi

EasyNet : http://lg.easynet.net/lg.php

TeliaSonera : http://lg.telia.net/

LINX : https://www.linx.net/pubtools/looking-glass.html

Most of those looking glass links support IPv4 as well as IPv6

Hope that helps!

Try us free for one full month today!

Related Articles

Whether you are an experienced network administrator or you have just started to learn Border Gateway Protocol (BGP), Looking Glass (LG) is definitely a topic you should not ignore. In the first case, LG servers are a real-time source of routing and BGP related information for network administrators. Looking Glass servers are deployed in different parts of the Internet and allow on-line checking of prefixes, collected from the BGP speaking routers. LGs make network administrators more effective during troubleshooting, helping them “see” their prefixes from the “outside”. In the second case, LG helps Internet users to understand how the BGP speaking routers interconnect Autonomous Systems (AS). Thanks to LG servers, Border Gateway Protocol newbies can touch a real networking “world” instead of running simple BGP topologies on buggy network simulators.

So, the question is what is LG and what is a motivation behind building BGP Looking Glass servers. LG software is basically a CGI script which creates an html page stored on a publicly accessible web server. An LG server acts as a user friendly front-end for BGP speaking routers. It sends read-only (usually show) commands to selected BGP routers within a certain AS and displays the output on a web page. For instance, a user selects bgpsummary option on the web page Eastlink for AS 7018 using a web browser (e.g. Mozilla Firefox). The result of the command – a list of the BGP peers along with their AS numbers, up/down time states, the number of received prefixes and other counters and statistics is displayed from AS 7018 perspective.

Showing BGP related information from remote BGP speaking routers is the main purpose for which LG servers are built. A good example of using LG server can be the checking of the upstream provider BGP table after a change in announced prefixes. For instance, after adding new prefixes with a network command a network administrator wants to be sure the new routes are visible on the upstream provider BGP routers. However, the administrator has no remote access to the routers. The desired solution is to connect to the provider’s LG server via web browser and to check BGP there. If the new prefixes are inserted into the BGP table of the provider’s’ routers, the administrator can continue with the next step. It would be finding out whether the prefixes are not blocked somewhere else on the Internet. The administrator will connect to a different LG server built for another AS and inspects BGP table there.

Web Based Looking Glass Servers

A general list of web based LG servers is available here. Let’s have a look at one of them – Eastlink LG server. We are going to check an active route from AT&T (AS7018) to Google network To do it, select AT&T (AS7018) under the Node column and type network under the column Additional Parameters. Then press the Submit button. It is shown on the Picture 1.

Picture 1 – Eastlink Looking Glass Server Web Interface

The truncated output of the BGP command is shown on the Picture 2. As we can see, a route to the prefix refers to path via AS7018 and AS15169 with the next hop IP address

Picture 2 – Active Route to Google Prefix from AT&T AS7018 – Eastlink Looking Glass Server

We already know that AS 7018 is assigned to AT&T company. To get more information on AS15169 we will use Hurricane Electric BGP Toolkit page. The page gives us a bunch of useful BGP IPv4 and Ipv6 information and statistics about the AS15169 which is assigned to Google Inc. For instance, we can display assigned IPv4 prefixes used by Google or to show its IPv4 BGP peers with AS 15169.

Picture 3 – Google AS 15169 BGP Statistics

The troubleshooting utilities such as ping and traceroute are often included in web based LG interface. They are great tools enabling network administrators to check a network connectivity from remote AS to their networks or to trace the routers along the path. Below is an output of the
trace test to the IP address – Google public DNS service run on Eastlink LG. It gives us a list of the routers on the path between AS7018 (AT&T) and AS15169 (Google).

Picture 4 – Traceroute Command Issued on LG Server for AS 7018 (AT&T)

CLI Looking Glass Servers

The web based LGs are certainly a good place to start when we want to find out how our prefixes are propagated in the Internet. However, a web interface usually offers limited access to show BGP command and its subcommands. For this reason, the best LG servers are public route servers that simplify peering between BGP peers and very often offer access using telnet protocol. A telnet session is limited to a read only access. Public route servers are commercial routers from vendors such as Cisco or Juniper or they are Linux boxes running open source routing daemons such as Quagga or Bird. Here is a general list of public route servers. Let’s telnet to a public AT&T route server for AS 6500 (private AS) which is running JUNOS. We will check a route for the prefix As it is a public route server, login credentials are posted as a part of the banner, usually at the bottom. Login with username

‘rviews’, password ‘rviews’.

$ telnet route-server.ip.att.net

rviews@route-server.ip.att.net> show route active-path terse

inet.0: 627915 destinations, 9417650 routes (627915 active, 0 holddown, 0 hidden)
+ = Active Route, – = Last Active, * = Both

A V Destination  P Prf  Metric 1  Metric 2  Next hop  AS path
* N  B 170  100  7018 15169 I
unknown  >


The command above inspects a routing table for the entry The route to a network was learnt via BGP protocol. Packets with destination address will be sent to the AS 15169 via AS 7018.

The command below provides detailed information about a route to We can see that a local (private) AS is 65000, the BGP peer AS number is 7018 with a router ID Packets to will be routed via interface em0.0 to the next hop IP address

rviews@route-server.ip.att.net> show route protocol bgp active-path extensive

inet.0: 625872 destinations, 9387008 routes (625872 active, 0 holddown, 0 hidden) (15 entries, 1 announced)
*BGP Preference: 170/-101
Next hop type: Indirect
Address: 0x225602c
Next-hop reference count: 697731
Protocol next hop:
Indirect next hop: 0x2 no-forward INH Session ID: 0x0
Local AS: 65000 Peer AS: 7018
Age: 6d 23:19:43 Metric2: 0
Validation State: unknown
Task: BGP_7018.
Announcement bits (1): 3-Resolve tree 2
AS path: 7018 15169 I
Communities: 7018:2500 7018:37232
Localpref: 100
Router ID:
Indirect next hops: 1
Protocol next hop:
Indirect next hop: 0x2 no-forward INH Session ID: 0x0
Indirect path forwarding next hops: 1
Next hop type: Router
Next hop: via em0.0
Session Id: 0x0 Originating RIB: inet.0
Node path count: 1
Forwarding nexthops: 1
Nexthop: via em0.0


The Looking Glass servers provide a view into the IP routing table of an AS where they are located. They are valuable troubleshooting tool for routing issues, widely used by network engineers.

A ping, traceroute or MTR can be run using BGP Looking Glass from Noction Intelligent Routing Platform Frontend via the default route or via a specific provider. The tool is available under Troubleshooting > Looking Glass.

0 Thoughts to “Looking Glass Bgp As Number Assignment

Leave a comment

L'indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *