TL;DR
Every publicly reachable IP has an AS (Autonomous System) that "announces" it in BGP, and that AS's number is the ASN. The key point: an ASN isn't obtained by registering anywhere — it's announced by some AS in the global BGP routing table. So when a block of IPs has never been announced by any AS (private networks, internal segments, freshly allocated but not yet live, or covered only by a larger aggregate announcement upstream), it has no origin ASN in the global routing table — databases like MaxMind / IPinfo naturally can't find one either, and can only pull a registered "organization name" from whois. This isn't a database bug — the IP block genuinely has no ASN.
1. How an ASN gets "attached" to an IP
Many people assume an ASN is a fixed property "assigned" to an IP, like a street address. In fact it's a dynamic routing fact. For a block of IPs to have an ASN, it must go through this chain:
- ① Allocation — IANA hands large address blocks to the five RIRs (APNIC for Asia-Pacific), and each RIR registers prefixes like
/19or/24to an organization. This step only produces a whois registration — there's no ASN yet. - ② Announcement — that organization (or its upstream ISP) uses its own AS to "announce" via BGP to neighboring routers: "route
113.48.0.0/19through me." - ③ The origin ASN is born — the number of the AS that announced this prefix becomes the block's origin ASN. Routing tables (RIBs) worldwide record: this prefix originates from AS××××.
So the essence of an ASN is "who is routing this block of IPs", not "who owns this block of IPs." If step ② never happens, step ③ never exists — the block will never resolve to an ASN.
In short: no BGP-announced route = no ASN. An ASN is a fact recorded in the routing table, not a field in a registry.
2. Why some IPs have no ASN — four common cases
| Case | Description | Typical scenario |
|---|---|---|
| Unannounced route | The IP block is allocated, but the holder never announces it to the public BGP table (used only internally / over private links) | Government/enterprise private networks, some internal IDC segments, industry-dedicated networks |
| Aggregate announcement | The upstream only announces a larger enclosing block; the sub-block has no independent origin of its own | A large carrier folds a /24 into a /16 and announces the aggregate |
| Newly allocated, not yet live | The RIR has just handed the prefix to an organization, but it hasn't been connected to BGP yet | A newly requested address block whose routing isn't configured yet |
| Reserved / special-use | Non-globally-routable addresses (private, documentation, CGNAT, etc.) | 10.0.0.0/8、100.64.0.0/10、192.0.2.0/24 |
These two cases confuse people, but they behave very differently: an IP covered by an aggregate is reachable (the larger block is routed) and merely lacks its own origin ASN, whereas an IP that was never announced is simply unreachable from the public Internet — ping it and you get 100% packet loss — even though whois still shows a registered organization. What they share is having no origin of their own in the global BGP table.
3. Verify it yourself — confirm "truly no ASN" with authoritative BGP sources
If a geo database can't find an ASN, that doesn't necessarily mean the IP truly has none — the database's coverage might just be incomplete. To settle the question, you need to ask the global BGP routing table itself. Here are two authoritative, free, self-serve sources:
3.1 RIPEstat — read the global routing table directly
RIPE NCC's RIPEstat aggregates data from BGP collectors worldwide. To look up an IP's origin ASN:
$ curl -s "https://stat.ripe.net/data/network-info/data.json?resource=113.48.177.6"
{
"data": {
"prefix": "", // ← empty: no prefix covers it
"asns": [] // ← empty: no origin ASN
}
}asns: [] — an empty array. No AS anywhere is announcing this IP in the global routing table. This is definitive evidence.
3.2 Team Cymru — the IP-to-ASN whois service
Team Cymru maintains the most widely used IP→ASN mapping service in the industry, also based on BGP:
$ whois -h whois.cymru.com " -v 113.48.177.6"
AS | IP | BGP Prefix | CC | Registry | Allocated | AS Name
NA | 113.48.177.6 | NA | CN | apnic | 2008-10-16 | NAAS = NA, BGP Prefix = NA. Notice on the right: Registry = apnic, Allocated = 2008-10-16 — this IP block was allocated to China by APNIC back in 2008 (hence the country code CN), but it has never entered BGP, so the AS is NA. "Allocated" and "has an ASN" are two entirely different things — this example makes that distinction unmistakably clear.
4. So where does a name like "China Great Wall Internet Server Provider" come from?
If there's no ASN, why can an IP lookup still show a company name? Because the name and the ASN come from two completely different data sets:
- ASN / asn_org — comes from the BGP routing table (who is routing this block of IPs). No announcement, no value.
- whois ISP / organization name — comes from the RIR's inetnum / abuse-contact registry (who is registered as holding this block). Even if it never entered BGP, the registration record still exists.
Some data sources return an isp field (for example China Great Wall Internet Server Provider or Beijing Big Data Tech Co.,Ltd.). This is the organization name registered in whois, not the ASN's org field. So it's completely normal to see the combination of "a name present, but no ASN number."
The name answers "who registered this IP block"; the ASN answers "which AS routes it." One being present and the other absent isn't a contradiction.
5. Impact on IP intelligence and lookups
The ASN field in commercial IP databases is essentially a snapshot of the BGP routing table. When an IP has no origin ASN:
- Every database that relies on BGP will fail to produce an ASN — this is a shared blind spot at the data-source level, not an oversight by any single vendor.
- The only thing available is the organization name registered in whois (if any).
- ASN-based classifications (carrier type, whether it's a datacenter, risk-clustering) degrade for these IPs, and you're left relying on other dimensions like organization name, geography, or behavior.
So when CleanIP.io looks up one of these IPs, you'll see its organization name displayed as usual, while the ASN field is left blank — this faithfully reflects the fact that "this IP block genuinely has no ASN in the global routing table," rather than a lookup failure. In this situation, just rely on the organization name, country of ownership, and risk signals — it's normal for the ASN column to be empty.
References
- RFC 4271 — A Border Gateway Protocol 4 (BGP-4)The BGP protocol itself: definitions of prefix announcement / AS-PATH / origin
- RIPEstat Data API — network-infoOfficial RIPE NCC tool for self-serve lookup of any IP's prefix / origin ASN
- Team Cymru — IP to ASN MappingThe industry's most widely used IP→ASN whois service, based on BGP
- IANA — IPv4 Address Space RegistryThe source for why address allocation (RIR) and "whether it's routed" are two separate things