• The previous lesson ended on an open problem.

    Two customers share the same provider network, and nobody coordinates their private address ranges.
    That is what you are going to solve here.

    One Routing Table Is Not Enough

    Look at the four customer sites once more.

    MPLS Layer 3 VPN topology with two customers connected to PE-1 and PE-2

    Figure 1 – Two customers share the same provider network

    Three things to notice on this figure:

    • Customer 1 uses 10.1.1.0/24 and 10.2.1.0/24

    • Customer 2 uses 10.1.2.0/24 and 10.2.2.0/24

    • Both companies land on the same two PE routers

    Your PE router has a single routing table.
    If both customers use the same private subnet, the routing table has no way to keep both routes distinct.

    The two companies end up mixed together, and a provider selling private connectivity can never allow that.

    Answer the question below

    Two customers advertise the same subnet. Can one single routing table hold both routes?

    One VRF per Customer

    To solve this, each PE router keeps one VRF per customer: a separate routing table for every customer it connects.

    Diagram showing one VRF per customer on each PE router

    Figure 2 – Each PE keeps one VRF per customer

    • PE-1 and PE-2 each hold two independent tables, VRF C1 and VRF C2, one for each customer they serve.

    • A VRF (Virtual Routing and Forwarding) instance is a routing table that sits beside the global routing table.

    The CE exchanges routing information with the PE, and the PE stores those routes in the VRF dedicated to that customer.
    Since each VRF is its own routing table, overlapping addresses are no longer a problem: every customer can advertise its private routes and use whatever address space it wants.

    Answer the question below

    A PE keeps one _______ per customer