cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
702
Views
0
Helpful
3
Replies

PBR in a VRF

lcaruso
Level 6
Level 6

Hi,

Need to solve a routing problem. Maybe PBR?

I have a 3925 CE that peers via BGP with a Managed Internet Service (MIS) PE.

The CE also peers via BGP with a managed vpn provider PE (same company).

Further, the same public wan port on this 3925 also terminates a vpn tunnel to a remote office site.

The problem stems from using a default/global routing table and an MIS vrf. The MIS vrf default route is to the MIS CE. The problem comes when traffic from the remote office arrives on the 3925 across the tunnel destined for the Internet. We want to force all traffic from the remote office to the internal firewall connected to the 3925, but the default vrf route sends it right out the Internet.

The MIS vrf default route to the MIS peer is necesary. It needs to stay.

What's a good solution for this scenario?

Thanks.

1 Accepted Solution

Accepted Solutions

blau grana
Level 7
Level 7

Hello lcaruso,

VRF would be the best option.

Here is link where similar problem was solved.

https://supportforums.cisco.com/message/3860865

Best Regards

Please rate all helpful posts and close solved questions

Best Regards Please rate all helpful posts and close solved questions

View solution in original post

3 Replies 3

blau grana
Level 7
Level 7

Hello lcaruso,

VRF would be the best option.

Here is link where similar problem was solved.

https://supportforums.cisco.com/message/3860865

Best Regards

Please rate all helpful posts and close solved questions

Best Regards Please rate all helpful posts and close solved questions

Thanks for your reply. I agree very similiar setup.

We had a deadline and couldn't wait and so we had to pull the tunnels off of the router and put them on the ASA.

I'll keep this link for later reference.

Here's a link with a title that matches my problem title (provided by a very helpful TAC engineer, THANKS DAVID B!)

http://www.cisco.com/en/US/docs/ios/mpls/configuration/guide/mp_mltvrf_slct_pbr.html

David's comments:

...in regards to your post, it is correct, it seems static VRF routes is your option if you need to reroute traffic to a different next hop. Now, if you need to do this only for specific subnets (based on the IP source), meaning, some subnets need to be redirected to ASA and some others needed to follow the default route, then you would need to configure PBR with set vrf ip next-hop command. 
Review Cisco Networking for a $25 gift card