2
Most read
4
Most read
5
Most read
(Virtual routing and forwarding)
VRF-Lite
www.netprotocolxpert.in
 Have you ever used some sort of virtualization software (e.g. vmware) to get
multiple virtualized servers running on a single physical server? It’s a great way to
save resources, by eliminating the need for extra physical servers. Well, similar to
how we can virtualize multiple servers on a single physical server, we can
virtualize multiple routers on a single physical router.
 Each of these virtual routers can have their own independent IP routing table and are
logically isolated from the other virtual routers residing in the same physical router. This
can offer a solution to service providers wanting to keep their customers’ network traffic
(including the IP routing tables of customers’ routers) isolated from one another. Or, in a
large enterprise, perhaps you have a design requirement to segregate different
applications (e.g. voice, video, and data).
 One solution Cisco offers to make this router virtualization possible is called VRF-Lite.
Some literature from Cisco defines VRF as VPN Routing/Forwarding, because it’s
commonly used in VPN environments. Other literature from Cisco defines VRF as Virtual
Routing and Forwarding, which is the definition I typically use. By the way, each
virtualized router is referred to as a VRF. So, a single physical router could be hosting
multiple VRFs.
 While it’s great that a single physical router can be running multiple virtual router
instances, the question arises, “How does the physical router keep traffic from the
virtualized routers separate when sending data to a neighbouring switch or router?” The
solution is actually quite simple, and similar to the old router-on-a-stick approach of
having a router interface configured as an IEEE 802.1Q trunk interface, with a different
subinterface for each VLAN, and each VLAN carries traffic for one VRF. Also, although it’s
beyond the scope of this introductory blog post, please be aware that VRF-Lite can be
configured to “leak” one or more routes between router instances.
 To demonstrate a basic VRF-Lite configuration, first consider the topology shown below.
VRF-Lite is configured on the COMMON router. The Fa 0/0 interface on the COMMON
router has three subinterfaces, one to carry traffic for each of the three VRFs. The VRFs
are named: VOICE, DATA, and VIDEO.
Virtual Routing and Forwarding, (VRF-lite)
Traffic from these three VRFs flows over a dot1Q trunk to switch SW1, which then
sends traffic out to the appropriate destination router based on VLAN membership:
 VOICE VRF : VLAN 2
 DATA VRF: VLAN 3
 VIDEO VRF: VLAN 4
Three steps to set up a basic VRF-Lite configuration
 Step #1: Globally define one or more VRFs. (Create a VRFs)
 Below is the configuration on the COMMON router that defines our VRFs:
 Step #2: Assign an interface or a subinterface to a VRF instance. (Assign VRFs to
Interfaces or Subinterfaces)
 Below is the configuration on the COMMON router that assigns subinterfaces to VRF
instances.
 Step #3: Associate a routing process with each VRF. (Configure Routing for VRFs)
 Below is the configuration on the COMMON router that associates an OSPF routing
process with each VRF.
Verifying VRF-Lite
 You can use the show ip vrf command to display the VRFs you created on a router.
 You can use the show ip route vrf vrf-name command to show a VRF’s IP routing table
Virtual Routing and Forwarding, (VRF-lite)
Virtual Routing and Forwarding, (VRF-lite)
 You can also use a VRF-specific ping to test connectivity with a remote IP address. For
example, let’s say we’re on the COMMON router and wish to ping the Fa 0/1 interface on
the VOICE router, which has an IP address of 10.1.1.1. How does the COMMON router
know it needs reach that IP address over the VOICE VRF? Well, we specify the VRF name
as part of the ping command.
Follow Us On
https://www.facebook.com/
NetProtocolXpert/
https://www.linkedin.com/c
ompany/netprotocol-xpert
https://plus.google.com/u/
0/collection/AYQ-EB
https://www.instagram.com/
netprotocol_xpert/
https://twitter.com/NPX_cisco
https://branded.me/netpro
tocolxpert

More Related Content

PDF
VRF (virtual routing and forwarding)
PDF
Segment Routing Lab
PDF
VXLAN BGP EVPN: Technology Building Blocks
PDF
Segment Routing Technology Deep Dive and Advanced Use Cases
PDF
Demystifying EVPN in the data center: Part 1 in 2 episode series
PDF
CISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
PDF
Building DataCenter networks with VXLAN BGP-EVPN
PDF
Open vSwitch 패킷 처리 구조
VRF (virtual routing and forwarding)
Segment Routing Lab
VXLAN BGP EVPN: Technology Building Blocks
Segment Routing Technology Deep Dive and Advanced Use Cases
Demystifying EVPN in the data center: Part 1 in 2 episode series
CISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
Building DataCenter networks with VXLAN BGP-EVPN
Open vSwitch 패킷 처리 구조

What's hot (20)

PPTX
Vxlan control plane and routing
PDF
Understanding Cisco’ Next Generation SD-WAN Technology
PPTX
Vxlan deep dive session rev0.5 final
PDF
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124 | Las Vegas 2017
PDF
Segment Routing Advanced Use Cases - Cisco Live 2016 USA
PPT
PPTX
Ethernet VPN (EVPN) EVerything Provider Needs
PDF
Deploying IP/MPLS VPN - Cisco Networkers 2010
PDF
Cisco Live! :: Cisco ASR 9000 Architecture :: BRKARC-2003 | Las Vegas 2017
PDF
MPLS + BGP Presentation
PPTX
OSPF Fundamental
PPTX
Cisco Live Milan 2015 - BGP advance
PDF
Deploying CloudStack and Ceph with flexible VXLAN and BGP networking
PDF
Troubleshooting BGP Juniper Examples
PPT
Mpls Services
PPTX
Introduction to vxlan
PPTX
Software Defined networking (SDN)
PDF
MPLS (Multiprotocol Label Switching)
PDF
Software-Defined WAN: A Real World Success Story
PPT
Mpls L3_vpn
Vxlan control plane and routing
Understanding Cisco’ Next Generation SD-WAN Technology
Vxlan deep dive session rev0.5 final
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124 | Las Vegas 2017
Segment Routing Advanced Use Cases - Cisco Live 2016 USA
Ethernet VPN (EVPN) EVerything Provider Needs
Deploying IP/MPLS VPN - Cisco Networkers 2010
Cisco Live! :: Cisco ASR 9000 Architecture :: BRKARC-2003 | Las Vegas 2017
MPLS + BGP Presentation
OSPF Fundamental
Cisco Live Milan 2015 - BGP advance
Deploying CloudStack and Ceph with flexible VXLAN and BGP networking
Troubleshooting BGP Juniper Examples
Mpls Services
Introduction to vxlan
Software Defined networking (SDN)
MPLS (Multiprotocol Label Switching)
Software-Defined WAN: A Real World Success Story
Mpls L3_vpn
Ad

Similar to Virtual Routing and Forwarding, (VRF-lite) (20)

PDF
Intrdouction to VRF Implementation.pdf
PPTX
CCNP Switching Chapter 5
PDF
BRKCRT-2601.pdf
PDF
Marvell SR-IOV Improves Server Virtualization Performance
PPTX
VMware Advance Troubleshooting Workshop - Day 3
PPTX
VMware vSphere 6.0 - Troubleshooting Training - Day 3
PDF
Mpls vpn.rip
PDF
Flexible NFV WAN interconnections with Neutron BGP VPN
PPT
CCNA FUNDAMENTAL
PDF
ospf-config.pdf
PDF
Summit 16: Open-O Mini-Summit - Vision and Update
PPTX
OpenStack MeetUp - OpenContrail Presentation
PDF
CCNA R&S-19-Operating Cisco Routers
PPTX
Operationalizing VRF in the Data Center
PPTX
ccna summer training ppt ( Cisco certified network analysis) ppt. by Traun k...
PDF
VMware vSphere Networking deep dive
PDF
VMware vSphere Networking deep dive
PPTX
Intrdouction to VRF Implementation.pdf
CCNP Switching Chapter 5
BRKCRT-2601.pdf
Marvell SR-IOV Improves Server Virtualization Performance
VMware Advance Troubleshooting Workshop - Day 3
VMware vSphere 6.0 - Troubleshooting Training - Day 3
Mpls vpn.rip
Flexible NFV WAN interconnections with Neutron BGP VPN
CCNA FUNDAMENTAL
ospf-config.pdf
Summit 16: Open-O Mini-Summit - Vision and Update
OpenStack MeetUp - OpenContrail Presentation
CCNA R&S-19-Operating Cisco Routers
Operationalizing VRF in the Data Center
ccna summer training ppt ( Cisco certified network analysis) ppt. by Traun k...
VMware vSphere Networking deep dive
VMware vSphere Networking deep dive
Ad

More from NetProtocol Xpert (20)

PPTX
Basic Cisco ASA 5506-x Configuration (Firepower)
PPTX
MPLS Layer 3 VPN
PPTX
Common Layer 2 Threats, Attacks & Mitigation
PPTX
Storm-Control
PPTX
Dynamic ARP Inspection (DAI)
PPTX
IP Source Guard
PPTX
DHCP Snooping
PPTX
Password Recovery
PPTX
Application & Data Center
PPTX
Cisco ISR 4351 Router
PPTX
Cisco ASR 1001-X Router
PPTX
Securing management, control & data plane
PPTX
Point to-point protocol (ppp), PAP & CHAP
PPTX
Avoid DNS lookup when mistyping a command
PPTX
TCLSH and Macro Ping Test on Cisco Routers and Switches
PPTX
Private VLANs
PPTX
MTU (maximum transmission unit) & MRU (maximum receive unit)
PPTX
OTV Configuration
PPTX
Cisco OTV 
PPTX
OTV(Overlay Transport Virtualization)
Basic Cisco ASA 5506-x Configuration (Firepower)
MPLS Layer 3 VPN
Common Layer 2 Threats, Attacks & Mitigation
Storm-Control
Dynamic ARP Inspection (DAI)
IP Source Guard
DHCP Snooping
Password Recovery
Application & Data Center
Cisco ISR 4351 Router
Cisco ASR 1001-X Router
Securing management, control & data plane
Point to-point protocol (ppp), PAP & CHAP
Avoid DNS lookup when mistyping a command
TCLSH and Macro Ping Test on Cisco Routers and Switches
Private VLANs
MTU (maximum transmission unit) & MRU (maximum receive unit)
OTV Configuration
Cisco OTV 
OTV(Overlay Transport Virtualization)

Recently uploaded (20)

PPTX
Measurement Uncertainty and Measurement System analysis
PDF
Computer System Architecture 3rd Edition-M Morris Mano.pdf
PDF
Introduction to Power System StabilityPS
PDF
Unit1 - AIML Chapter 1 concept and ethics
PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PDF
Prof. Dr. KAYIHURA A. SILAS MUNYANEZA, PhD..pdf
PPTX
Principal presentation for NAAC (1).pptx
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PPTX
Software Engineering and software moduleing
PPTX
Management Information system : MIS-e-Business Systems.pptx
PPTX
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
PPTX
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
PDF
MLpara ingenieira CIVIL, meca Y AMBIENTAL
PPTX
Module 8- Technological and Communication Skills.pptx
PDF
Cryptography and Network Security-Module-I.pdf
PPT
Chapter 1 - Introduction to Manufacturing Technology_2.ppt
PDF
Applications of Equal_Area_Criterion.pdf
PPTX
ai_satellite_crop_management_20250815030350.pptx
PDF
20250617 - IR - Global Guide for HR - 51 pages.pdf
PDF
LOW POWER CLASS AB SI POWER AMPLIFIER FOR WIRELESS MEDICAL SENSOR NETWORK
Measurement Uncertainty and Measurement System analysis
Computer System Architecture 3rd Edition-M Morris Mano.pdf
Introduction to Power System StabilityPS
Unit1 - AIML Chapter 1 concept and ethics
"Array and Linked List in Data Structures with Types, Operations, Implementat...
Prof. Dr. KAYIHURA A. SILAS MUNYANEZA, PhD..pdf
Principal presentation for NAAC (1).pptx
August 2025 - Top 10 Read Articles in Network Security & Its Applications
Software Engineering and software moduleing
Management Information system : MIS-e-Business Systems.pptx
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
MLpara ingenieira CIVIL, meca Y AMBIENTAL
Module 8- Technological and Communication Skills.pptx
Cryptography and Network Security-Module-I.pdf
Chapter 1 - Introduction to Manufacturing Technology_2.ppt
Applications of Equal_Area_Criterion.pdf
ai_satellite_crop_management_20250815030350.pptx
20250617 - IR - Global Guide for HR - 51 pages.pdf
LOW POWER CLASS AB SI POWER AMPLIFIER FOR WIRELESS MEDICAL SENSOR NETWORK

Virtual Routing and Forwarding, (VRF-lite)

  • 1. (Virtual routing and forwarding) VRF-Lite www.netprotocolxpert.in
  • 2.  Have you ever used some sort of virtualization software (e.g. vmware) to get multiple virtualized servers running on a single physical server? It’s a great way to save resources, by eliminating the need for extra physical servers. Well, similar to how we can virtualize multiple servers on a single physical server, we can virtualize multiple routers on a single physical router.
  • 3.  Each of these virtual routers can have their own independent IP routing table and are logically isolated from the other virtual routers residing in the same physical router. This can offer a solution to service providers wanting to keep their customers’ network traffic (including the IP routing tables of customers’ routers) isolated from one another. Or, in a large enterprise, perhaps you have a design requirement to segregate different applications (e.g. voice, video, and data).  One solution Cisco offers to make this router virtualization possible is called VRF-Lite. Some literature from Cisco defines VRF as VPN Routing/Forwarding, because it’s commonly used in VPN environments. Other literature from Cisco defines VRF as Virtual Routing and Forwarding, which is the definition I typically use. By the way, each virtualized router is referred to as a VRF. So, a single physical router could be hosting multiple VRFs.
  • 4.  While it’s great that a single physical router can be running multiple virtual router instances, the question arises, “How does the physical router keep traffic from the virtualized routers separate when sending data to a neighbouring switch or router?” The solution is actually quite simple, and similar to the old router-on-a-stick approach of having a router interface configured as an IEEE 802.1Q trunk interface, with a different subinterface for each VLAN, and each VLAN carries traffic for one VRF. Also, although it’s beyond the scope of this introductory blog post, please be aware that VRF-Lite can be configured to “leak” one or more routes between router instances.  To demonstrate a basic VRF-Lite configuration, first consider the topology shown below. VRF-Lite is configured on the COMMON router. The Fa 0/0 interface on the COMMON router has three subinterfaces, one to carry traffic for each of the three VRFs. The VRFs are named: VOICE, DATA, and VIDEO.
  • 6. Traffic from these three VRFs flows over a dot1Q trunk to switch SW1, which then sends traffic out to the appropriate destination router based on VLAN membership:  VOICE VRF : VLAN 2  DATA VRF: VLAN 3  VIDEO VRF: VLAN 4
  • 7. Three steps to set up a basic VRF-Lite configuration  Step #1: Globally define one or more VRFs. (Create a VRFs)  Below is the configuration on the COMMON router that defines our VRFs:
  • 8.  Step #2: Assign an interface or a subinterface to a VRF instance. (Assign VRFs to Interfaces or Subinterfaces)  Below is the configuration on the COMMON router that assigns subinterfaces to VRF instances.
  • 9.  Step #3: Associate a routing process with each VRF. (Configure Routing for VRFs)  Below is the configuration on the COMMON router that associates an OSPF routing process with each VRF.
  • 10. Verifying VRF-Lite  You can use the show ip vrf command to display the VRFs you created on a router.
  • 11.  You can use the show ip route vrf vrf-name command to show a VRF’s IP routing table
  • 14.  You can also use a VRF-specific ping to test connectivity with a remote IP address. For example, let’s say we’re on the COMMON router and wish to ping the Fa 0/1 interface on the VOICE router, which has an IP address of 10.1.1.1. How does the COMMON router know it needs reach that IP address over the VOICE VRF? Well, we specify the VRF name as part of the ping command.