This is all good advice, but I think you need to step back a bit and give us more background.
You say forward mail to two SMTP servers based on WAN IP - Does that mean you'll have two WAN circuits coming into the outside of the router, or does that mean that you're going to have to remote IP addresses across the WAN through the same connection and want each of them to be routed to a separate SMTP server?
Next, and most importantly... When most SOHO users think of a "router" they think of a Linksys, D-Link, etc. Technically, these *are* routers, but they are designed for a whole different world than a real enterprise router. SOHO routers combine a lot of features together and wrap them all up in a pretty little package. Firewalls, NATs, port forwarding, etc. Something like a 1700 is very, very different. It has a lot more capabilities and is designed for something very different. Yes, it can DO most of what you're looking for, but it's going to be a real pain and cost you big $$$, especially when you add on the firewall feature set to a already expensive router.
There's probably some other solutions - For example, you can probably send ALL the SMTP traffic to a single server, then write some rules to route it appropriately. You could also build a Sendmail box that just routes mail - Send all WAN mail to the sendmail box and write some configs on it to route traffic to your other two SMTP servers based on whatever rules you require.
So, give us a bit more info and we'll be able to better tell you how to most efficiently achieve your goals.
- G