Hi there,
I am trying to do policy based routing with route-map, it is working fine on the way of the packet except at the end when the vasi interface pair comes into.
The packet lands on vasileft interface which is in a vrf and the packet should go to a subinterface which is in the same vrf. This works just fine when normal routing is in place, but if I would like to route with route-map it is not working. The packet turns back to vasiright.
Could you please advise why?
I have the following configuration
interface vasileftX
vrf forwarding ***
ip address X.X.X.5 255.255.255.252
ip policy route-map DMVPN-INTERNET3
no keepalive
end
interface vasirightX
vrf forwarding ***INSIDE
ip address X.X.X.6 255.255.255.252
no keepalive
end
route-map DMVPN-INTERNET3 permit 10
match ip address ROUTE-INTERNET
set ip vrf **** next-hop X.X.20.249
ip access-list extended ROUTE-INTERNET
deny ip X.X.21.0 0.0.0.255 10.0.0.0 0.255.255.255
deny ip X.X.21.0 0.0.0.255 192.0.0.0 0.255.255.255
deny ip X.X.21.0 0.0.0.255 172.0.0.0 0.255.255.255
permit ip X.X.21.0 0.0.0.255 any
Basicly what I would like to achieve is that all the traffic has to go to X.X.20.249.
Is there a limitation for policy based routing on vasi interface?
Regards,
Gergely