01-09-2015 06:34 AM - edited 03-07-2019 10:09 PM
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.
01-09-2015 08:26 AM
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
01-09-2015 09:25 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide