liveBook · Manning

VRF-lite

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

VRF-lite is a form of Virtual Routing and Forwarding that provides separate routing instances without MPLS.

VRF-lite segments one physical router into multiple isolated virtual routers, allowing separate customers or networks to use overlapping IP subnets without MPLS. section 17.2 section 17.4

Build a basic VRF-lite configuration in three steps:

  • Create each VRF with ip vrf vrf-name in global configuration mode. section 17.2
  • Assign interfaces with ip vrf forwarding vrf-name, then configure their IP addresses. section 17.2
  • Configure routing for each VRF and verify its separate routing table. section 17.2 section 17.4

Each VRF has an independent routing table. Traffic remains inside its VRF and cannot exit through an interface assigned to another VRF; VRF leaking is the advanced exception. section 17.2 section 17.4

Configure and verify isolated routing

Use ip vrf C1_VRF, then assign an interface with ip vrf forwarding C1_VRF and re-enter its IP address because enabling VRF removes the existing IPv4 address. Verify with show ip vrf, show ip route vrf C1_VRF, and ping vrf C1_VRF destination. A plain show ip route does not display the VRF-specific routes. section 17.2

Figure 17.8 VRF segments a physical router into multiple virtual routers.

Use the router-segmentation figure to visualize one physical router operating as multiple virtual routers. section 17.2

Figure 17.9 SPR1 is divided into three VRFs. Because each VRF functions as an independent router, overlapping IP addresses are not a problem.

Use the three-VRF topology to see why identical or overlapping interface subnets can coexist across isolated VRFs. section 17.2

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Explains creation, interface assignment, routing tables, and verification, while deferring VRF leaking and MPLS L3VPN implementation.
Examples
Uses Cisco IOS commands, overlapping 192.168.1.0/30 subnets, per-VRF routing output, and VRF-specific ping tests.
What you can do after
Build it from scratch, assign interfaces, inspect per-VRF routes, and test connectivity within selected VRFs.
How it connects
Connects virtual routing and forwarding with routing tables, VRF leaking, and MPLS L3VPNs.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.