cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2512
Views
0
Helpful
7
Replies

Unable to get ping response between different VRF

Darshin Gadhia
Level 1
Level 1

Hi Team

i have configured two separate VRF for VLAN 30 & 40 and apply VRF leaking for same but still communication unable to happen.

also routes are showing in respective VRF routing table.

configuration as below.

vlan 1,10,20,30,40

vrf context BLUE
ip route 10.10.11.0/24 Vlan40
rd 100:2
address-family ipv4 unicast
route-target import 100:1
route-target export 100:2
vrf context RED
ip route 10.10.10.0/24 Vlan30
rd 100:1
address-family ipv4 unicast
route-target import 100:2
route-target export 100:1

 

interface Vlan30
no shutdown
vrf member RED
ip address 10.10.11.254/24

interface Vlan40
no shutdown
vrf member BLUE
ip address 10.10.10.254/24

interface Ethernet1/1
switchport access vlan 30

interface Ethernet1/2
switchport access vlan 40

router bgp 100
address-family ipv4 unicast
network 0.0.0.0/0
redistribute static route-map RED
vrf BLUE
vrf RED

7 Replies 7

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Try creating a 3rd share vrf and import/export there.  See link for an example:

http://packetlife.net/blog/2010/mar/29/inter-vrf-routing-vrf-lite/

HTH

hello

but it could be communicate between two VRF...

regards,

darshin 

Remove static routes 

do redistibute connected in bgp vrf section

after that show bgp route tables for vrfs 

make sure that you have one up interface with IP address in GRT

hello

it is now showing redistribute connected in bgp vrf section.

it is Nexus 9000 series switch and version having version 7.0(3)I6(1)

1. Show current config

2. show bgp route tables for vrfs

Hello,

Make sure you have Enterprise Services license for VRF leaking.

Darshin Gadhia
Level 1
Level 1

also route information as below for VRF..

switch(config)# sh ip route blue
^
% Invalid command at '^' marker.
switch(config)# sh ip route vrf blue
IP Route Table for VRF "BLUE"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>

10.10.10.0/24, ubest/mbest: 1/0, attached
*via 10.10.10.254, Vlan40, [0/0], 00:11:18, direct
10.10.10.254/32, ubest/mbest: 1/0, attached
*via 10.10.10.254, Vlan40, [0/0], 00:11:18, local
10.10.11.0/24, ubest/mbest: 1/0, attached
*via Vlan40, [1/0], 00:02:23, static

switch(config)# sh ip route vrf red
IP Route Table for VRF "RED"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>

10.10.10.0/24, ubest/mbest: 1/0, attached
*via Vlan30, [1/0], 00:03:07, static
10.10.11.0/24, ubest/mbest: 1/0, attached
*via 10.10.11.254, Vlan30, [0/0], 00:12:26, direct
10.10.11.254/32, ubest/mbest: 1/0, attached
*via 10.10.11.254, Vlan30, [0/0], 00:12:26, local

Review Cisco Networking for a $25 gift card