03-21-2011 08:21 AM - edited 03-06-2019 04:10 PM
I am looking at possible solutions to provide inter-vrf routing on a 6500. Does the following look workable?
int vlan1
ip vrf forwarding red
ip address 2.3.4.0 255.255.255.0
int lo0
ip vrf forwarding red
ip policy route-map red
route-map red permit 100
set vrf blue
ip route vrf red 1.2.3.0 255.255.255.0 lo0
int vlan2
ip vrf forwarding blue
ip address 1.2.3.0 255.255.255.0
int lo1
ip vrf forwarding blue
ip policy route-map blue
route-map blue permit 100
set vrf red
ip route vrf blue 2.3.4.0 255.255.255.0 lo1
03-21-2011 08:24 AM
You need BGP, here is an example
03-21-2011 08:26 AM
Hi,
I think you should take a look at this: http://packetlife.net/blog/2010/mar/29/inter-vrf-routing-vrf-lite/
Regards.
Alain.
03-21-2011 08:46 AM
Thanks for the suggestions. I have noticed a number of solutions on the web that require bgp. Does this look like a method that may work without bgp?
I suppose ip unnumbered would be required on the loopbacks.
03-21-2011 09:28 AM
nm
03-21-2011 09:35 AM
Edison, I am familiar with the methods you have referenced. I am curious if PBR is also a viable solution since the feature addition of Multi-VRF Selection Using Policy Based Routing.
03-21-2011 09:39 AM
you need the route-target import | export feature.
03-21-2011 10:02 AM
Edison, there seems to be some contention regarding whether pbr can provide an inter-vrf routing function. The documentation below seems to be clear on this point. My inquiry was geared towards the validity of using loopbacks for pbr as referenced in the configlet. Of course, it would also be a dealbreaker if pbr could not provide inter-vrf routing as you seem to imply.
http://www.cisco.com/en/US/docs/ios/12_2sr/12_2srb/feature/guide/srb2mvrf.html
03-21-2011 09:29 AM
You could leak between global and VRF but not between VRFs with static
03-21-2011 11:30 AM
Well also look for vrf route leaking.. its simple between vrf and global.. simply point static routes in vrf with next hop as global and vice-versa. havent tested with inter-vrf.. but worth a try.
-
Sebastian
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