VRF-Lite and Routing Table Separation
VRFs
A VRF creates a separate routing table on the same router or switch. VRF-Lite provides segmentation without requiring an MPLS provider core. Interfaces and routing processes must be associated with the intended VRF.
vrf definition TENANT-A
address-family ipv4
interface GigabitEthernet0/0
vrf forwarding TENANT-A
ip address 10.1.1.1 255.255.255.0
On many platforms, applying a VRF can remove the existing interface IP, so configure the address afterward. Verify with show vrf, show ip route vrf TENANT-A, and VRF-aware ping commands.
Quick revision
- Explain the concept in your own words.
- Run the relevant verification commands in a lab.
- Record one common failure and how you would isolate it.
Want to learn this professionally?
Explore practical IT training at Cyber Code Academy.
View Academy Courses