I have WAN1 (184.108.40.206) and WAN2 (220.127.116.11) coming into a 2900, which is then connected to an ASA and to our LAN. The LAN has an Exchange server, and we want all Exchange related traffic to go out WAN2, while having all other user traffic going out WAN1.
I understand this can be done via PBR, and I've been reading up on it. My question comes in with the ASA. Will the ASA know anything about the PBR that's taking place? Or will all traffic just be routed through to the Router and the PBR be applied to the incoming interface on the LAN side?
access-list 101 permit ip any any
route-map GENERAL permit 10
match ip address 101
set ip next-hop 18.104.22.168
access-list 102 permit ip any any eq 25
access-list 102 permit ip any any eq 110
route-map EXCH permit 12
match ip address 102
set ip next-hop 22.214.171.124
Is this anything like how it should look?
I guess I should put the EXCH pbr first, else there will be no traffic left for the 102 ACL to tag?
Thanks for any time given!