cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1560
Views
0
Helpful
18
Replies

local policy route-map for policy route

julxu
Level 1
Level 1

Hi 

 

this is related my previous question:

I want to set policy route on asr1004, that redirect vpn traffic. 

 

my case is:

  asr1004 import a default route 0.0.0.0 from int 0 with bgp neibour address 10.100.100.100

assume internal traffic 10.10.10.0/24 coming into asr1004 on int 1.

assume vpn with ip address 10.2.2.2 is direct linked to asr1004 int 2, and int 2 ip address is 10.2.2.1

assume taget network is 10.200.200.0/24

 

I want internal traffic (10.10.10.0/24) go to target (10.200.200.0/24)  to be redirect to10.2.2.2 (vpn)  first, so I add  "ip route 10.200.200.0/24 10.2.2.2" on asr1004.

 

Than, I want vpn (10.2.2.2) encrypt traffic and send it to one of ip in10.200.200.0/24 range again. at this point if I put local policy route-map below, is it will work?

ip local policy route-map vpn-out

access-list 100 permit ip 10.2.2.2 any

route-map vpn-out permit 10
  match ip address 100
  set ip next-hop 10.100.100.100

 

if not, do I have any change to do policy route for this case?

 

any comment will be appreciated

 

Thanks in advance

 

Julxu

 

 

 

 

 

18 Replies 18

The "default" in the "set ip default next-hop" means use the IP routing table first before using PBR.

It isn't what you want.

You need to track the next hop IP and if it goes down then use another next hop.

See this link for a configuration example for your router -

http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_pi/configuration/xe-3s/asr1000/iri-xe-3s-asr1000-book/iri-pbr-mult-track.html

Jon

Did you have any luck with your PBR configuration ?

Jon

Is there another VPN device which is in front of the 10.200.200.0/24 network ?

And your VPN device is meant to create a tunnel to the other VPN device ?

Jon

When your route sends traffic to the VPN device it doesn't change the destination IP so your acl 100 matching any traffic to 10.10.2.2 will never be used.

I'm really not sure what you are trying to do but on VPN devices normally you don't need PBR to use the VPN, you simply configure the VPN.

Jon

Review Cisco Networking products for a $25 gift card