Hi, I'm attempting to perform a double translation but so far have not had much luck.
I have a host directly connected to interface 0/0 on a Cisco 2600 that needs to send translated packets out on interface 1/0 and also be able to receive them back the same way.
The setup we currently have is:
|| [NAT_OUTSIDE:172.16.0.5] <-> (server) 172.16.0.30
The intention is to preform a translation on all packets arriving to 192.168.0.2 and send them out as 172.16.0.30, with a source of 172.16.0.5 so in effect, the server would see
them as if they were sent from the 2600.
On the return, the same scenario
Packets arriving on 172.16.0.5 should be translated to 192.168.0.1 with a source address of 192.168.0.2, so the host sees them as if sent from the 2600
In effect, a simple 2 way forward translation.
The current config we have for the 2600 is:
interface FastEthernet 0/0
ip address 192.168.0.2 255.255.255.252
ip nat inside
interface Ethernet 1/0
ip address 172.16.0.5 255.255.255.0
ip nat outside
ip route 0.0.0.0 0.0.0.0 172.16.0.1
ip nat inside source static 192.168.0.1 172.16.0.30
When packets arrive on the outside interface (.5) they are sent to the inside interface as requested, and I can see them in the host, but the reverse is not happening, ie, packets
arriving from 192.168.0.1 on 192.168.0.2 are not being forwarded to 172.16.0.30.
I do get a ping back from the 2600 in this situation (probably due to routing happening before natting).
Could anyone shed some light as to see if this can be done?
Many thanks in advance.