Evn VRF
Evn VRF
VIRTUAL
NETWORK
EVN: EASY VIRTUAL NETWORK
                               VNET TRUNK
            VRF A                                 VRFAA
                                                  VRF
            VRF B                                  VF BBB
                                                  VRF
                                                   VRF
  #StillLearning         /vicens-ferran-rabassa             2
                             EVN (EASY VIRTUAL NETWORK)
INDEX
Page 5 – Introduction.
Page 6 – Description of the course on EVN by Mr. Arash Deljoo.
Page 7 - Virtual Networking Concept.
Page 7 - Benefits of Network Virtualization.
Page 8 - Summary table of Network Virtualization techniques.
Page 9 - How EVN helps us?.
Page 9 - But, What is EVN?.
Page 10 - EVN in more detail.
Page 11 - Some concepts used in EVN: Vnet TAG, Vnet Trunk, Show-derived-config.
Page 12 - Comparing Configuration Procedures (I): VRF Lite.
Page 13 - Comparing Configuration Procedures (I): EVN.
Page 14 - How does EVN works?.
Page 15 - Troubleshooting and Monitoring.
Page 16 - EVN with Routing Protocols: Rip & EIGRP.
Page 17 - EVN with Routing Protocols: OSPFv2.
Page 18 - EVN with Routing Protocols: BGP.
Page 19 - BGP Route Distinguishers.
Page 20 - Route Targets (RT).
Page 21 - Sharing Routes within VRFs: Route Leaking.
Page 22 - In Summary.
                                       /vicens-ferran-rabassa                     3
                                           EVN (EASY VIRTUAL NETWORK)
INTRODUCTION
This work has been inspired on the course Easy Virtual Network (EVN) by Arash Deljoo in Udemy. I tried to summary it.
I want to agree Mr. Deljoo for it’s clear and practical teaching that makes you get trapped in its courses. In the course of Mr. Deljoo you can
learn more deeply and practically all the concepts about EVN.
Requirements
Minimum Level: CCNA
Have read and understood previously concepts about VRF Lite
                                                       /vicens-ferran-rabassa                                                                4
                                          EVN (EASY VIRTUAL NETWORK)
DESCRIPTION
“Deliver traffic separation and path isolation capabilities on a shared network infrastructure with Easy Virtual Network (EVN). An IP-based
network virtualization solution, EVN takes advantage of existing Virtual Routing and Forwarding (VRF)-Lite technology to simplify Layer 3
network virtualization, improve support for shared services, and enhance management and troubleshooting. Easy Virtual Network (EVN)
is an IP-based network virtualization solution that helps enable network administrators to provide traffic separation and path isolation
on a shared network infrastructure. EVN uses existing Virtual Route Forwarding (VRF)-Lite technology to: Simplify Layer 3 network
virtualization, Improve shared services support and Enhance management, troubleshooting, and usability
What Problems Does It Help Solve?
EVN reduces network virtualization configuration significantly across the entire network infrastructure with the Virtual Network Trunk.
The traditional VRF-Lite solution requires creating one sub interface per VRF on all switches and routers involved in the data path,
creating a lot of burden in configuration management.
EVN removes the need of per VRF sub interface by using “vnet trunk” command. This helps reduce the amount provisioning across the
network infrastructure
EVN enhances network virtualization troubleshooting by making VRF-Lite easier to deploy, operate, and scale. A routing context
command mode allows network operators to perform troubleshooting issues that pertain specifically within a VRF without specifying the
VRF name in every command.”
                                                       /vicens-ferran-rabassa                                                            5
                                           EVN (EASY VIRTUAL NETWORK)
Virtual Networking
But let’s remember something. We are talking about Layer 3 Virtual Networks.
What does it mean? Means that we are communicating with other devices
through different logical networks with different or same Ipv4 subnets (we
can overlap subnets), and all of this through the same cable and links. Each
logical network remains separate from the others in the routers, devices, links
and cables.                                                                                General or global Context RIB
In each router coexist a separated RIB (Routing Information Base in control
plane) and FIB (Forwarding Information Base in Data Plane) for each VRF. And
the General Context Router with it’s normal or default RIB and FIB.
A single IP infrastructure can be virtualized to provide up to 32 virtual
                                                                                                        VRF A RIB
networks end-to-end.
                                                        /vicens-ferran-rabassa                                                      6
                                                       EVN (EASY VIRTUAL NETWORK)
The table above resumes some of Network Virtualization techniques.                                                                                        We are Here
                 Transport                                                Layer                                            Technique
                                                                                                                      AToM (EoMPLS)
                                                                         Layer 2
                                                                                                                          VPLS
                     MPLS
                                                                         Layer 3                                           MPLS VPN
                                                                                                                             OTV
                                                                         Layer 2
                                                                                                                           VPLSoGRE
                        IP
                                                                                                                  VRF-Lite over mGRE
                                                                         Layer 3
                                                                                                                 MPLS-VPN over mGRE
NOTE: This table has been extracted from a document created by Radek Boch CCIE#7095 for a Cisco Expo in the year 2.011. Maybe there are new technologies not listed here,
but this is a General View on Network Virtualization Techniques.
                                                                      /vicens-ferran-rabassa                                                                                7
                                            EVN (EASY VIRTUAL NETWORK)
                                                        /vicens-ferran-rabassa                                                          8
                                            EVN (EASY VIRTUAL NETWORK)
                                                       /vicens-ferran-rabassa                                                            9
                                           EVN (EASY VIRTUAL NETWORK)
                                                       /vicens-ferran-rabassa                                                           10
                                               EVN (EASY VIRTUAL NETWORK)
                                                           /vicens-ferran-rabassa                                                  11
                                               EVN (EASY VIRTUAL NETWORK)
       Defining the VRF on R1, R2                                 For creating the VRFs with EVN it’s mandatory to use the new method of VRF
                                                                  definition.
       R1(config)#vrf definition A
       R1(config-vrf)#[description]                                                                  Gi0/0
       R1(config-vrf)#vnet tag 2                                                                                                   Gi0/1
                                                                         Gi0/1                                        VRF A
       R1(config-vrf)#address-family ipv4 unicast                                   VRF A
       R1(config-vrf)#exit
       R1(config)#int Gi0/1
       R1(config-if)#vrf forwarding A                                     Configuring Sub Interfaces (R1,R2)
       R1(config-if)#ip address 10.1.0.1 255.255.255.0
       R1(config-if)#no sh
                                                                          R1(config)#int Gi0/0
                                                                          R1(config-if)#vnet trunk
       R1(config)#int Gi0/2                                               R1(config-if)#no shutdown
       R1(config-if)#vrf forwarding B                                     R1(config-subif)#ip address 10.1.2.1 255.255.255.0
       R1(config-if)#ip address 10.1.0.1 255.255.255.0
       R1(config-if)#no sh                                                R2(config)#int Gi0/0
                                                                          R2(config-if)#vnet trunk
       *Same configuration in Router 2                                    R2(config-if)#no shutdown
                                                                          R2(config-subif)#ip address 10.1.2.2 255.255.255.0
                                                           /vicens-ferran-rabassa                                                           12
                                          EVN (EASY VIRTUAL NETWORK)
                                                      /vicens-ferran-rabassa                                                           13
                                            EVN (EASY VIRTUAL NETWORK)
You can enter into the VRF context, and the operate inside it:
router#routing –context vrf [VRF_NAME]
router%VRF_NAME# show ip route
router%VRF_NAME# ping A.B.C.D
router%VRF_NAME# telnet A.B.C.D
router%VRF_NAME# traceroute A.B.C.D
router%VRF_NAME# exit
To display VRF configuration info, you can use router#show run vrf [VRF_NAME]
It displays VRF Definitions, Interfaces in VRFs and protocol configurations for Multi-VRF.
                                                        /vicens-ferran-rabassa                                                                14
                                                  EVN (EASY VIRTUAL NETWORK)
RIPv2 EIGRP
Every network commands and configurations are done under the VRF address-    Each Eigrp configuration must be done under the VRF Address-Family declaration.
family environment.                                                          Every VRF (Address-Family) can be configured with the same or different AS-Number.
                                                                /vicens-ferran-rabassa                                                                   15
                                            EVN (EASY VIRTUAL NETWORK)
OSPFv2
                     For every VRF we will use an OSPFv2 process, and network commands and configurations are done
                     under the OSPF PID VRF-NAME environment.
                                                          /vicens-ferran-rabassa                                                       16
                                            EVN (EASY VIRTUAL NETWORK)
                                                       /vicens-ferran-rabassa                                                         17
                                        EVN (EASY VIRTUAL NETWORK)
                                                         ----------------------------
As example, RD is declared in the VRF in this way:
                                                         R1(config)#vrf definition A
Route-target-both as a macro to add both                 R1(config-vrf)#rd 65120:100
                                                     /vicens-ferran-rabassa                                                                       18
                                       EVN (EASY VIRTUAL NETWORK)
Communities. And the format can be the same             R1(config-vrf)#route target import 65120:100 or 1:1 or 100:10
                                                        ----------------------------
as defined for RDs. There is a shortcut command
                                                         R1(config)#vrf definition A
                                                         R1(config-vrf)#route target export 65120:100      or   1:1   or   100:10
                                                         R1(config-vrf)#route target import 65120:100      or   1:1   or   100:10
                                                   /vicens-ferran-rabassa                                                           19
                                          EVN (EASY VIRTUAL NETWORK)
IN SUMMARY.
Easy Virtual Network (EVN) is an IP-based virtualization technology that provides end-to-end virtualization of two or more
Layer-3 networks. You can use a single IP infrastructure to provide separate virtual networks whose traffic paths remain
isolated from each other.
EVN builds on the existing IP-based virtualization mechanism known as VRF-Lite. EVN provides enhancements in path isolation,
simplified configuration and management, and improved shared service support. EVN is backward compatible with VRF-Lite to
enable seamless network migration from VRF-Lite to EVN.
EVN supports IPv4, static routes, Open Shortest Path First version 2 (OSPFv2), and Enhanced Interior Gateway Routing Protocol
(EIGRP) for unicast routing, and Protocol Independent Multicast (PIM) and Multicast Source Discovery Protocol (MSDP) for IPv4
Multicast routing. EVN also supports Cisco Express Forwarding (CEF) and Simple Network Management Protocol (SNMP).
This two technologies VRF Lite and EVN are important for secured virtualizing networks in a single path IP infrastructure
environment. Maybe, there are few scenarios where to apply them on our Lan environments. But certainly, they are the basis to
understand what's going on in ISPs. This technologies permits to extend our Lans beyond of the scope of itself, and going also
through Internet, because they permit secured virtualization of different paths from one end to the other, in a secured way,
running with MPLS, some types of VPN, BGP, and more technologies.
In case someone wants to expand their knowledge about EVN or read a little more about this technology, here I leave some links
on the Cisco web:
Easy Virtual Network Configuration Guide, Cisco IOS XE Release 3S
Simplify Layer 3 Network Virtualization
Easy Virtual Network Configuration Example
Easy Virtual Network Management and Troubleshooting
                                                    /vicens-ferran-rabassa                                                       20
                                  EVN (EASY VIRTUAL NETWORK)
We will talk about this topic on the next summary that will be coming soon.
                                               /vicens-ferran-rabassa                                        21
Thanks for watching.
I’m always #StillLearning
/vicens-ferran-rabassa