I want to configure PBR on cisco router. That router is connected to 2 cisco ASA with 2 different ISP's.
Default route for router is FW1. Various vlans are configured and inter-vlan routing working on that router.
I want if any request comes for server from 22.214.171.124 IP (outside traffic) via FW2, respose should be sent back to same route i.e. via FW2.
Currently request is coming from FW2 to server but as the default route is FW1 so outside user is not getting any response from the server. I have configured policy routing but it's not working, below is the configuration:
description "Server VLAN"
encapsulation dot1Q 14
ip address 172.16.14.254 255.255.255.0
ip policy route-map t_mob
description "Connected to FW2"
encapsulation dot1Q 18
ip address 10.2.2.6 255.255.255.248
ip access-list extended t_mob_routemap
description "Outside user IP"
permit ip host 126.96.36.199 any
deny ip any any
route-map t_mob permit 10
match ip address t_mob_routemap
set interface GigabitEthernet0/1.18
Pls. suggest what's the problem.
Jon is right, you have to change the access list.
But also you can forget about policy based routing and just put the static route
ip route 188.8.131.52 255.255.255.255 FW2IP
and all the traffic with destination 184.108.40.206 will go through FW2.