ISP peering and transit
The Internet is a network of networks
An Internet service provider (ISP) connects subscribers or other networks. An autonomous system (AS) is a routing-policy domain identified by an AS number; a company can operate several ASes. BGP exchanges reachability between ASes, but does not encode the price of an agreement. There is no single Internet root router. Regional providers, content networks, access operators and global backbones connect in a mesh shaped by business agreements and geography. Informal tier labels do not establish an exact path or quality guarantee.
Transit and peering
With transit, a customer buys connectivity to destinations beyond its provider, subject to the contract. With peering, two networks exchange agreed reachability, often their own and customer destinations; this may be paid or settlement-free. Peering does not automatically supply a default route or the entire Internet. An IXP is shared infrastructure, not itself a transit contract. In the example, access network A buys transit from T, sells transit to C and peers with P. The labels A, T, C and P are fictional ASes, not real operator identities.
Work through export policy
Our simplified relationship policy allows A to export its own routes to all three neighbors and customer routes to the other neighbors. A exports peer- or provider-learned routes only to its customer, never back to the source neighbor. Additional per-prefix permission is still necessary. For example, a route learned from P may go to C but not T. A route learned from C may go to P or T if permitted. This avoids unintended transit in the fictional model. Import validation, preference, next-hop reachability and return paths remain separate; this is not a full BGP decision process. RFC 9234 describes explicit session roles and OTC mechanisms for leak prevention, beyond this classroom model.
A -> T: own/customer onlyA -> P: own/customer onlyA -> C: own/peer/provider (subject to prefix policy)From the last mile to the backbone
A subscriber may reach an aggregation router through fiber, cable, DSL, fixed wireless or mobile access. The last mile, aggregation, broadband subscriber gateway, backbone and upstream interconnection may each constrain throughput or availability. Carrier Ethernet provides Ethernet service between handoffs; optical transport carries signals across fiber, potentially with multiple wavelengths. Neither guarantees independent physical paths. For IPv4 scarcity, a provider may use carrier-grade NAT (CGNAT) and assign shared addresses from 100.64.0.0/10 between customer equipment and the carrier NAT. Inbound reachability and port availability may be limited. Native IPv6 can reduce reliance on address sharing, but IPv6 and IPv4 connectivity and policy need separate checks.
Practice with a relationship matrix
Write the learned-from role and export destination role for each route. Predict permit or deny before comparing with the fixture. Add a prefix permission denial to an otherwise eligible export and confirm it is rejected. For customer complaints, compare the access link, subscriber gateway, upstream and application evidence instead of assuming BGP is at fault. All tasks use paper or local JSON; never establish a session or advertise documentation prefixes.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
ISP peering and transit Quiz
Reason about carrier relationships, exchange forwarding and routing safety.
What does a transit agreement generally provide?
A learns a route from peer P. Under the exercise policy, where can A export it?
What does an IXP membership itself guarantee about global transit?
What range is reserved for shared address space used in CGNAT?
Two carrier services use the same fiber duct. What remains?