Tema 8. VRF-Lite

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 26

REDES DE DATOS II

Layer 3 Virtualization

Alberto Arellano A. Ing. Msc.


aarellano@espoch.edu.ec
CCNA – CCNP – CCSP – LPI - JNCIA
Virtual Routing and Forwarding
• Virtual Routing and Forwarding (VRF)
provides logical layer 3 network
segmentation.
• Virtualizes IP routing control and
data plane functions.
• For each VRF:
• Independent routing and
forwarding decisions.
• IPv4 and IPv6 unicast/multicast
tables are created automatically
• VRF membership of each interface
dictates which forwarding table to
use.
• VRF is with MPLS Core / MP-BGP
• VRF-Lite is IP Core
VRF Operation
Just as with a VLAN based network using 802.1q trunks to extend
the VLAN between switches, a VRF based design uses 802.1q
trunks, GRE tunnels, or MPLS tags to extend and tie the VRFs
together.
Route Distinguisher - RD
• It is used by the PE routers to identify which VRF a packet
belongs to, e.g to enable a router to distinguish between
192.168.1.0/24 for Customer A and 192.168.1.0/24 for
Customer B.
• RD is configured in the VRF at PE
VRF-Lite Configuration
1. Create and name VRFs
ip vrf VRF1
rd 1:1
ip vrf VRF2
rd 2:2
ip vrf VRF3
rd 3:3
2. Attached VRFs to desired interfaces
interface FastEthernet0/0
ip vrf forwarding VRF1
ip address 10.0.0.1 255.255.255.0
no shut
3. Apply routing to specific VRF
router ospf 1 vrf VRF1
network 10.0.0.0 255.255.255.255 area 0
router ospf 2 vrf VRF2
network 10.0.0.0 255.255.255.255 area 0
Easy Virtual Network - EVN
• EVN is a technology that provides end-to-end virtualization over layer-
3 network. EVN allows you to use segment the same physical
hardware into multiple groups, which have their own logical network,
and their own routing & forwarding tables. Only OSPFv2 & EIGRP run
over EVN.
• EVN removes the need of per VRF subinterface by using “vnet trunk”,
this help reduce the amount provisioning across the network
infrastructure.
Lab. VRF-Lite
Lab. VRF-Lite
Cliente Sitio Router Red Protocolo
Cliente-1 Sitio-1 C10 10.10.10.10/32
Sitio-2 C11 11.11.11.11/32 RIPv2
Sitio-3 C12 12.12.10.10/32
Sitio-4 C13 13.13.13.13/32
Cliente-2 Sitio-1 C20 20.20.20.20/32
Sitio-2 C21 21.21.21.21/32
EIGRP
Sitio-3 C22 22.22.22.22/32
Sitio-4 C23 23.23.23.23/32
Cliente-3 Sitio-1 C30 30.30.30.30/32
Sitio-2 C31 31.31.31.31/32
OSPFv2
Sitio-3 C32 32.32.32.32/32
Sitio-4 C33 33.33.33.33/32
R1
• Create VRF
• Assign
Interface to
VRF
R1
• Create VRF
• Assign
Interface to
VRF
R1
• Create VRF
• Assign Interface to VRF
R1 – Routing Protocols
R1 – Check VRF Configuration
R2
• Create VRF
• Assign
Interface to
VRF
R2 – Routing Protocols
R3
• Create VRF
• Assign
Interface to
VRF
R3 – Routing Protocols
R4
• Create VRF
• Assign
Interface to
VRF
R4 – Routing Protocols
R5
• Create VRF
• Assign
Interface to
VRF
R5 – Routing Protocols
Check Route Table
Check Route Table
Check Route Table
C10 & C11 – Routing Protocols
Check connectivity C10 to C11

You might also like