Skip to content

Phase 2 — BGP-DIA & Internet Edge

🟢 Phase 2 Live — Validated on Arista cEOS 4.32.0F.

Phase 2 moves from internal routing topologies to the Internet Edge. This course covers how Internet Service Providers (ISPs), Cloud Service Providers, and Hyperscalers (Google, AWS, Meta) connect to the global Internet safely and at scale.

You will build multi-provider Direct Internet Access (DIA), configure ingress/egress BGP traffic engineering with Communities (Standard & Large RFC 8092), enforce RPKI Route Origin Validation, set up IXP peering with BFD/GTSM, and manage Carrier-Grade NAT (CGNAT).


🏛️ Internet Edge Architecture & Design Deep Dive

The Internet Edge represents the perimeter boundary where an Enterprise or Cloud Service Provider Autonomous System (AS) interconnects with Tier-1 Transits, Regional ISPs, and Internet Exchange Points (IXPs).

graph TD
    subgraph GlobalInternet["Global Internet (Tier-1 Transits & IXPs)"]
        T1A["Tier-1 Transit Provider A<br/>(Full Internet Table ~950k routes)"]
        T1B["Tier-1 Transit Provider B<br/>(Full Internet Table ~950k routes)"]
        IXP["Public IXP Route Server<br/>(Direct Peer Exchange)"]
    end

    subgraph EnterpriseEdge["Autonomous System (AS 65001) — Internet Edge"]
        E1["Edge Router r1<br/>(Primary Egress / Ingress)"]
        E2["Edge Router r2<br/>(Backup / Secondary Egress)"]
        FW["HA Firewall / CGNAT Gateway Cluster"]
        Core["Internal IP/MPLS Core Backbone"]
    end

    T1A <===>|eBGP + BFD| E1
    T1B <===>|eBGP + BFD| E2
    IXP <===>|eBGP + GTSM| E1

    E1 <===>|iBGP + OSPF / iBGP Mesh| E2
    E1 === FW
    E2 === FW
    FW === Core

    classDef transit fill:#1565c0,stroke:#90caf9,color:#ffffff,stroke-width:2px;
    classDef edge fill:#2e7d32,stroke:#a5d6a7,color:#ffffff,stroke-width:2px;
    class T1A,T1B,IXP transit;
    class E1,E2,FW,Core edge;

Core Architectural Pillars

  1. Multi-Homing Redundancy & Transit Hierarchy:
  2. Single-homing creates a single point of failure (SPOF) for Internet connectivity. Multi-homing across geographically disparate ISPs (Tier-1 transits) ensures 99.999% availability against link cuts or provider outages.
  3. Full Feeds vs Default Route: Edge routers can accept default routes (0.0.0.0/0) from providers to save FIB memory, or full BGP tables (~950,000 IPv4 prefixes) for granular egress traffic steering.

  4. Traffic Engineering (Symmetric & Asymmetric):

  5. Outbound (Egress): Direct control using BGP LOCAL_PREF (overrides AS_PATH length).
  6. Inbound (Ingress): Indirect control using AS-Path Prepending, MED (Multi-Exit Discriminator), and ISP-specific BGP Communities (RFC 1997 / RFC 8092).

  7. Perimeter Defensive Security:

  8. RPKI Route Origin Validation (ROV) drops hijacked prefix announcements at the WAN edge.
  9. Remotely Triggered Blackhole (RTBH) drops volumetric DDoS attacks using 65535:666 signaling.
  10. Bogon & RFC 1918/6598 Filtering prevents illegal private and unallocated IP space leakages.

  11. Peering & Sub-second Resilience:

  12. Direct IXP peering bypasses expensive Transit bandwidth costs and reduces latency.
  13. BFD (Bidirectional Forwarding Detection) reduces link detection from 180 seconds down to <300 ms.
  14. GTSM (RFC 3682) enforces IP TTL checks to block off-path BGP TCP spoofing.

Course Matrix & Labs

Lab Description Core Protocols & Concepts Status
01 Multi-Provider DIA & Traffic Engineering Egress LOCAL_PREF, Ingress AS-Path Prepending, BGP Communities (65000:70), Large Communities (RFC 8092) 🟢 Validated
02 BGP Security: RPKI ROV & Bogon Filtering RPKI Validation (Valid/Invalid), Transit Leak Protection, RTBH (65535:666) 🟢 Validated
03 IXP Peering, GTSM & Sub-Second BFD IXP Route Server Peering, BFD (min_rx 300ms), GTSM (ttl-security) 🟢 Validated
04 CGNAT & Provider Edge Services Carrier-Grade NAT (RFC 6598 100.64.0.0/10), DetNAT / PBA Port Allocation, NAT64/DNS64 🟢 Validated

Google Network Infrastructure Target Competencies

graph TD
    A["Multi-Provider DIA & Transit"] --> B["BGP Traffic Engineering<br/>(Communities & Large Communities)"]
    B --> C["BGP Defensive Security<br/>(RPKI ROV & RTBH 65535:666)"]
    C --> D["Hyperscale Peering & BFD<br/>(GTSM & Sub-second BFD)"]
    D --> E["Provider Edge CGNAT & Transition<br/>(RFC 6598 & NAT64)"]
    classDef s fill:#1565c0,stroke:#90caf9,color:#ffffff,stroke-width:2px,font-size:14px;
    class A,B,C,D,E s;

Prerequisites


Next Steps & Interview Practice

  • Self-Test Interview Questions — Google NIE interview question bank covering DIA traffic engineering, RPKI, BGP communities, GTSM, BFD, and CGNAT.