Tunnels and overlays
VRF
One router split into several virtual routers, each with its own routing table and its own interfaces.
Each VRF holds only its own networks, so customers or departments on one router never reach each other and can
use the same addresses. An interface belongs to one VRF, and a packet is routed with the table of the VRF it came in
on. Sharing something between VRFs means copying its routes into each of them (route leaking). VRF-lite is VRF
on single routers; providers carry VRFs across their core with MPLS (L3VPN). Linux: ip link add NAME type vrf table N, or numbered tables and ip rule; Cisco: vrf definition, vrf forwarding, show ip route vrf.
Read next
- Routing table The list a device uses to decide where each packet goes next.
- MPLS Forwarding by a short label put in front of the IP header, instead of by the destination address.
- VLAN Several separate networks on one switch, kept apart by a tag in each frame.
- Private addresses Address ranges any organisation may use inside, never routed on the internet: 10/8, 172.16/12, 192.168/16.
- Route leak Routes announced past where they should go: a customer passing on a transit's routes, or a mistyped more-specific.