How would you use "ip nat inside source static network" with an route-map? The specific situation is:
Inside LAN: 192.168.1.0/24
The inside LAN address should be NAT'd to 172.30.11.0/24 only if the traffic is going to 172.30.10.0/24.
I have tried the following with no luck:
ip access-list extended nat-acl
permit ip 192.168.1.0 0.0.0.255 172.30.10.0 0.0.0.255
route-map nat-map permit 10
match ip addres nat-acl
ip nat inside source static network 192.168.1.0 172.30.11.0 /24 route-map nat-map
However, if the route-map is not specified in the "ip nat inside source static network", the translation works for all traffic.
On the other side, I was able to set this up with "ip nat pool" and route-map.
ip nat inside source list nat-acl route-map nat-map pool nat-pool
ip nat pool nat-pool 172.30.11.0 172.30.11.255 netmask 255.255.255.0 type match-host
Any advice is appreciated!