cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
503
Views
0
Helpful
2
Replies

Route injection global/vrf

Dario Agudelo
Level 1
Level 1

Hi everyone:

I have an issue regarding route injection between a vrf interface and a global interface.

The configuration is something like this:

I need vrf V1 network and 192.168.2.0 network reach each other.

I tried straight routes at first but it didn't work. For R1:

ip route vrf V1 192.168.2.0 255.255.255.0 gigabitethernet0/1 192.168.2.1

ip route 192.168.1.0 255.255.255.0 gigabitethernet0/0 192.168.1.1

Then I tried cross routes and it worked fine. For R1:

ip route vrf V1 192.168.2.0 255.255.255.0 gigabitethernet0/1 192.168.2.2

ip route 192.168.1.0 255.255.255.0 gigabitethernet0/0 192.168.1.2

Of course this is no a solution as I would need two routers for it to work. I suspect this issue is something related to ARP but I really don't know.

2 Replies 2

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Have a look at this document. You may need to configure router-target import and export.

 

http://www.cisco.com/c/en/us/support/docs/multiprotocol-label-switching-mpls/multiprotocol-label-switching-vpns-mpls-vpns/47807-routeleaking.html

HTH

Hi Reza:

I used router-target import and export for vrf-vrf route sharing with success.

I have also used "ip route x.x.x.x global" from vrf to go to global routes behind global interfaces. But the problem is to directly connected networks between VRFs and globals.

Thks.

Review Cisco Networking for a $25 gift card