basically I want to static two-way nat 2 networks:
network 192.168.1.x into 20.168.1.x
network 10.x.x.x into 20.x.x.x
this is my actual config:
class-map match-all NAT_192.168.1.0_24
2 match source-address 192.168.1.0 255.255.255.0
class-map match-all GLOBAL_NAT
2 match source-address 10.0.0.0 255.0.0.0
policy-map multi-match Policy_NAT
nat static 126.96.36.199 netmask 255.255.255.0 vlan 2
nat static 188.8.131.52 netmask 255.255.255.0 vlan 3
nat static 184.108.40.206 netmask 255.0.0.0 vlan 2
nat static 220.127.116.11 netmask 255.0.0.0 vlan 3
interface vlan 1 (global outside interface)
service-policy input Policy_NAT
interface vlan 2 (inside / server interface)
interface vlan 3 (inside / server interface)
i want to accomplish bi-directional nat, but this seems to work in an odd way:
it is good when the traffic comes from vlan 1 to vlans 2 and 3
when traffic originates from vlans 2 and 3, headed towards vlan 1, everything
gets natted into 10.x.x.x regardless if traffic is destined 20.168.1.x that should become,
in my intentions,192.168.1.x, it becames 10.168.1.x instead.
What could be wrong? Am I missing something basic here?
thanks in advance.