Policy Based Routing for SMTP traffic via Second ISP
I've been lurking these boards for a while grabbing tips to use while I work; now I need to ask for some help. I have been trying to set up thr router to send SMTP traffic over a specific interface, NAT'd appropriately, and have all other traffic sent over a different interface. The interfaces were intially set up as a failover from one to another using ip sla's.
What have right now is a cable isp (ISP1), and a T1 (ISP2). Currently, when we turn up fe04, all traffic goes out the interface, and when we turn it down, all traffic goes out the T1
Here's the relevant config(IP addresses removed, hopefully):
Unfortunately, that didn't seem to take. I also applied the ip policy to the internal interface, which seemed to take down just the server. Here's what I put into the config:
access-list 151 permit tcp host 192.168.x.y eq smtp any
access-list 151 permit tcp host 192.168.x.y any eq smtp
access-list 151 permit ip host 192.168.x.y any
route-map smtprul permit 5 *****Yes, I mispelled it, but kept it consistent through the config.
match ip address 151
set interface Vlan10
ip address 220.127.116.11 255.255.255.248
ip nat outside
zone-member security out-zone
ip policy route-map smtprul
crypto map VPN
ip nat inside source route-map smtprul interface Vlan10 overload
When I placed this into the config, all other machines and servers correctly exited the fe4 cable interface. Ther server dropped off though, and wouldn't route out. I believe this may be a NAT issue? Or am I missing something more basic?
Listen: https://smarturl.it/CCRS9E25 Follow us: twitter.com/ciscochampions
With applications and users everywhere, the networks are now, more than ever, being tasked with delivering consistent protection while providing an exceptional user exper...
Listen: https://smarturl.it/CCRS9E24 Follow us: https://twitter.com/CiscoChampion
Cisco Radio Aware Routing addresses several of the challenges faced when merging IP routing and radio communications in mobile networks, especially those exhibiti...
Listen: https://smarturl.it/CCRS9E23 Follow us: https://twitter.com/CiscoChampion The Wi-Fi 6E Catalyst 9136 access point takes advantage of the 6-GHz band to produce a network that is more reliable and secure, with higher throughput, more ...
When moving from OSPFv2 to OSPFv3, there are many changes in the format of the LSAs Type, but the most known changes are: IP prefix informations are no longer carried in Type-1 LSA and Type-2 LSA, new LSAs Type 8 and 9 are added to carry these prefixes.