How to set different default routes for different VRFs?

Unanswered Question
Jul 30th, 2008

I have multiple VRFs where I will inject a default route into each for Internet access. However some VRFs will have the default route going through Firewall, while others have their default route not going through Firewall. How can I make this happen? I'm thinking adding the interfaces of Internet connections to the VRFs, but not sure how the return traffic from the Interner router would know which VRF to route to.



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Collin Clark Wed, 07/30/2008 - 11:18

This is off the top of my head, so double check my work.

ip route [vrf name] [gateway]

In your internet router you will need to specify the interface for each vrf subnet.

ie ip route [vrf 1 IP]

ie ip route [vrf 2 IP]

Hope that helps.


This Discussion