hostname Router\n!\nip cef\n!####First we are going to setup a monitor that will use icmp or ping to contact the gateway of ISP1. It will do this every 5 seconds####!\nip sla monitor 1\n type echo protocol ipIcmpEcho 12.34.45.1\n threshold 3\n frequency 5\nip sla monitor schedule 1 life forever start-time now\nip sla monitor 2\n type echo protocol ipIcmpEcho 23.34.56.1\n threshold 3\n frequency 5\nip sla monitor schedule 2 life forever start-time now\n!\n!####Here we are going to setup monitoring objects and tell it to point to the above monitors####!\ntrack 101 rtr 1 reachability\n!\ntrack 102 rtr 2 reachability\n!\n!####NAT must be configured on the interfaces in order to setup the rules####!\ninterface FastEthernet0\n ip address 192.168.1.254 255.255.255.0\n ip nat inside\n!\ninterface s0/0\n ip address 12.34.45.2 255.255.255.0\n ip nat outside\n!\ninterface s0/1\n ip address 23.45.67.2 255.255.255.0\n ip nat outside\n!\nip classless\n!####Configure your gateway and their tracking objects####!\nip route 0.0.0.0 0.0.0.0 12.34.45.1 track 101\nip route 0.0.0.0 0.0.0.0 23.45.67.1 track 102\n!####Configure your outbound NAT statements####!\nip nat inside source route-map ISP1 interface s0/0 overload\nip nat inside source route-map ISP2 interface s0/1 overload\n!####Change your MX records for your mail server to both of your ISP's IP addresses then configure below####!\nip nat inside source static tcp 192.168.1.10 25 12.34.45.2 25 route-map ISP1 extendable\nip nat inside source static tcp 192.168.1.10 25 23.45.67.2 25 route-map ISP2 extendable\n!\n!\naccess-list 10 permit 192.168.1.0 0.0.0.255\n!\n!####Configure route maps for reference in NAT statements####!\nroute-map ISP2 permit 10\n match ip address 10\n match interface s0/1\n!\nroute-map ISP1 permit 10\n match ip address 10\n match interface s0/0\n!\n