4

I have this scenario where i have two 10G link from my ISP and both link has two class C /24 public IP which is mentioned in diagram. I want to router data between two VRF RED & BLUE

enter image description here

How do i router data between two VRF RED & BLUE?

EDIT

If there any other way we can achieve this scenario without using VRF?

  • 1
    If you want to route between them, why did you configure them as separate VRFs? Also, if the two switches are layer-3 switches, why not route, instead of trunk, between them? The current best practice is to extend layer-3 as low as possible, even to the access switch. – Ron Maupin Feb 12 '18 at 2:24
  • 1
    By the way, those addresses are not Class C addresses, and network classes were deprecated in 1993 by RFCs 1517, 1518, and 1519. Modern networking doesn't use network classes. Network classes were determined by the bit number of the first 0 bit in the address. – Ron Maupin Feb 12 '18 at 2:27
  • I totally understand VLSM addressing i just wanted to say its /24 subnet, it was my mistake i said Class C (default Class C is /24) anyway, Both link coming from my ISP with different handoff IPs and associated public IPs, now i have L3 switch so i need to define Default GW for both handoff and that is only possible in VRF am i missing something here? – Satish Feb 12 '18 at 2:51
  • "now i have L3 switch so i need to define Default GW for both handoff and that is only possible in VRF am i missing something here?" A layer-3 switch has a routing module, so you do not need to define a default gateway. That would be for a layer-2 switch. With a layer-3 switch, just like with a router, you use the routing table to define where to send traffic. – Ron Maupin Feb 12 '18 at 2:53
  • 2
    perhaps this will assist ? packetlife.net/blog/2010/mar/29/inter-vrf-routing-vrf-lite – psniffer Feb 12 '18 at 10:41
4

There are few options for you to route the traffic between VRFs. Below are two of them:

  • The first option is to use MP-BGP (Multiprotocol BGP) with RD (Route Distinguisher) and RTs (Route Targets).
  • The second option is to use static routes and make use the global (default) routing table. I wrote a blog post about this option on my blog Netlabbuilder.

There is a nice post about these two options from Routing-Bits.

However, I would suggest you not to do that if you do not clearly understand how it works and what you want to achieve. This would result in issues while you set it up and troubleshoot them later.

|improve this answer|||||
  • very neat example!! – Satish Feb 12 '18 at 16:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.