Skip to main content

Posts

Showing posts with the label VRF

VRF lite at Enterprise

In this scenario we have two internet line and separate the user group for internet using. I want to setup  NET_G1 group use internet line 1 and NET_G2 group use internet line 2. At NET_G1 sale and MKT department are included and at NET_G2 HR and IT are included. First step create the vrf. R1/R4/R5 ip vrf NET_G1 ip vrf NET_G2 Second step -set the interfaces belong to vrf. R1 ip vrf NET_G1 ip vrf NET_G2 int f0/0 ip vrf forwarding NET_G1 ip add 10.10.10.2 255.255.255.252 description Internet 1 no sh int f1/0 no sh ip vrf forwading NET_G2 ip add 172.16.12.2 255.255.255.252 description Internet 2 no sh int f2/0 no sh int f2/0.10 encapsulation dot1q 10 ip vrf for NET_G1 ip add 192.168.14.1 255.255.255.252 int f2/0.20 encapsulation dot1q 20 ip vrf for NET_G2 ip add 192.168.14.1 255.255.255.252 int f3/0 no sh int f3/0.10 encapsulation dot1q 10 ip vrf for NET_G1 ip add 192.168.15.1 255.255.255.252 int f3/0.20 encapsulation dot1q 20 ...

VRF Lite

VRF (Virtual Routing and Forwarding) is like a logical router, no need to require many router for different routing or different customers.VRF are most commonly associated MPLS service providers. Deployment without MPLS is know as VRF lite.In this topology we configure the VRF Lite. Let see, we have two customer Green and Yellow are using our network service.They have same network prefixes. As we know router don't accept same network prefixes but Vrf can solve that problem. First step we need to create vrf. R1 ip vrf GREEN ip vrf YELLOW R2 ip vrf GREEN ip vrf YELLOW R3 ip vrf GREEN ip vrf YELLOW Each routed interface (virtual or physical) belongs to exactly one VRF.  For vrf GREEN R2 int lo0 ip vrf forwarding GREEN ip add 192.168.1.1 255.255.255.0 int f0/0.1 encapsulation dot1q 10 ip vrf forwarding GREEN ip add 10.10.12.2 255.255.255.252 R1 int f0/0.1  encapsulation dot1Q 10  ip vrf forwarding GREEN  ip address 10.10.12.1 255.25...