Autonomous System

Quick definition
An Autonomous System is a network or collection of networks under single administrative control, using a unified routing policy to exchange traffic with other networks on the internet.

An Autonomous System (AS) is a network or collection of networks operating under a single administrative control with a unified routing policy. These fundamental building blocks of internet infrastructure allow organizations to manage how traffic flows into, out of, and through their networks. Understanding Autonomous Systems is essential for grasping how data travels across the global internet.

What Makes an Autonomous System Unique

Every Autonomous System represents a distinct domain of routing authority. While a home network connects to an Internet Service Provider (ISP), that ISP likely operates its own AS containing thousands of routers, data centers, and interconnection points. The key characteristic is unified administrative control—one organization or entity makes routing decisions for the entire network.

Consider a large university network as an example. The institution manages its campus networks, research facilities, and dormitory connections under a single routing policy. Even though this network spans multiple buildings and possibly multiple cities, it functions as one Autonomous System because the university's IT department controls all routing decisions.

This arrangement differs fundamentally from the broader internet, where no single authority dictates how traffic moves. Each AS makes independent decisions about accepting, rejecting, or forwarding traffic based on its own policies and business relationships.

How Autonomous Systems Communicate

Autonomous Systems exchange routing information using the Border Gateway Protocol (BGP), the de facto standard for inter-domain routing. BGP allows each AS to announce which IP address ranges it controls and to learn about paths to reach addresses in other systems.

Key BGP Concepts

  • Route announcements: An AS broadcasts its IP prefixes to neighboring systems
  • Path selection: Routers choose optimal paths based on policies, not just distance
  • Peering agreements: Business relationships determine which routes get shared

A Practical Scenario

When someone in Tokyo accesses a website hosted in London, the request traverses multiple Autonomous Systems. Each AS along the path makes independent forwarding decisions. The user's ISP hands off traffic to a transit provider, which routes it through several intermediate networks until it reaches the destination AS hosting the server.

Types of Autonomous Systems Explained

Not all Autonomous Systems serve the same purpose. Their classification depends on how they connect to other networks and what role they play in global routing.

TypeDescriptionExample
Stub ASConnects to only one other ASSmall business network
Multihomed ASConnects to multiple ASes but doesn't allow transitEnterprise with redundant ISPs
Transit ASAllows traffic from other ASes to pass throughMajor telecommunications carrier

A regional bank, for instance, might operate a multihomed AS. It connects to two different ISPs for redundancy but doesn't allow those ISPs to route traffic through the bank's network to reach each other. This configuration provides reliability without the complexity of being a transit provider.

Autonomous System Numbers and Registration

Each Autonomous System receives a unique identifier called an Autonomous System Number (ASN). Originally, ASNs were 16-bit numbers ranging from 1 to 65,535. As internet growth accelerated, 32-bit ASNs were introduced, expanding the available pool dramatically.

Obtaining an ASN

Regional Internet Registries (RIRs) manage ASN allocation worldwide. Organizations must demonstrate a legitimate need, typically by proving they require unique routing policies or connections to multiple upstream providers. The five RIRs—ARIN, RIPE NCC, APNIC, LACNIC, and AFRINIC—each serve different geographic regions.

Major cloud providers and content delivery networks often hold multiple ASNs for different services or geographic regions. At the time of writing, over 100,000 ASNs are actively routing traffic on the global internet.

Risks and Challenges in Autonomous System Management

Operating an Autonomous System introduces significant responsibilities and potential pitfalls. Misconfigured BGP announcements can cause widespread internet outages, and malicious actors increasingly target routing infrastructure.

Common Challenges

  • Route hijacking: Attackers announce IP prefixes belonging to other organizations
  • Configuration errors: Incorrect announcements can accidentally blackhole traffic
  • Peering disputes: Business disagreements can disrupt connectivity for end users
  • Scale complexity: Large ASes must manage thousands of routing relationships

A notable risk involves route leaks, where an AS accidentally forwards routing information it shouldn't. If a small network mistakenly announces routes for a major provider, traffic intended for that provider may be misdirected through the smaller network, causing congestion or outages. Implementing Resource Public Key Infrastructure (RPKI) helps mitigate these risks by cryptographically validating route announcements.

Related terms