06-11-2009 10:08 AM
Hi,
I have a router and have configured multiple VRFs. I was also able to leak routes between the global routing table and one of the VRFs (VRF data) successfully.
Now, I have not been able to leak the loopback address of the VRF data (1.1.1.1) into the global routing table, so I can ping the VRF loopback address from the global routing table.
I have also read this article:
http://www.cisco.com/en/US/tech/tk436/tk832/technologies_configuration_example09186a0080231a3e.shtml
Has any one experienced this before?
Attached is the config
Thanks,
Reza
Solved! Go to Solution.
06-12-2009 08:15 AM
If VRF select is not supported, you can create a fake route-map and apply it to the loopback interface:
route-map FAKE
set vrf data
!
int loopback 0
ip policy route-map FAKE
ip vrf receive data
!
HTH
Laurent.
06-12-2009 05:40 AM
Hi Reza,
If you want the loopback to be seen from the VRF and the GRT, you can use the following command instead of the ip vrf forwarding:
int loopback 1
ip vrf select source
ip vrf receive data
!
HTH
Laurent.
06-12-2009 06:54 AM
Hi Laurent,
Thanks for the reply.
One of the commands (ip vrf select source) is not available (maybe I do not have the right IOS)and for the other command it asks me to enable policy routing first.
Here is the output:
Also, I am running
System image file is "flash:/c2800nm-adventerprisek9_ivs-mz.124-3g.bin"
T-1(config-if)#do sh run in lo1
Building configuration...
Current configuration : 63 bytes
!
interface Loopback1
ip address 1.1.1.1 255.255.255.255
end
T-1(config-if)#ip vrf receive data
% Need to enable Policy Based Routing on the interface first
T-1(config-if)#ip vr
T-1(config-if)#ip vrf ?
forwarding Configure forwarding table
receive Add Interface Address into VRF Table
sitemap Configure route-map for routes received from this site
T-1(config-if)#ip vrf
ip vrf
ip vrf
% Incomplete command.
T-1(config-if)#
06-12-2009 08:15 AM
If VRF select is not supported, you can create a fake route-map and apply it to the loopback interface:
route-map FAKE
set vrf data
!
int loopback 0
ip policy route-map FAKE
ip vrf receive data
!
HTH
Laurent.
06-15-2009 09:00 AM
Laurent,
I just tested this
It works very well
Thanks for your help
Reza
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: