I own a /24 subnet that I've proceeded to chomp into a /26 subnet. I currently have two routers on the subnet, one for the .0 network and one for the .64 network. Behind each router I have non-routable address spaces, i.e. 192.168.101.0/24 behind the .0 router and192.168.201.0/24 behind the .64 router. Normally I want the non- routables to be NAT'ed whenever they leave the router, so I have access lists and ip nat rules set up to nat the non-routables to their respective router's external address when they leave the router. However, I would like to be able to set the non-routables to not be NAT'ed when they leave the router if they are headed for a non- routable on the other router. For example, if traffic is leaving from 192.168.101.11 to Google, I want it to be NAT'ed to its router's routable IP address. However, if traffic is leaving from 192.168.101.11 and is going to 192.168.201.58, I don't want it to be NAT'ed.
Any suggestions on how I can do this? Thanks in advance for your help.