Interesting nat problem

Nov 30, 2005 2 Replies

I have a 2621 with the following interfaces:



f0/0: 10.1.202.3 f0/1: 192.168.115.3



There are several hosts that sit behind int f0/0 that connect to a host behind int f0/1 using ftp and sftp. That host is 192.168.115.10. I want the 10.1.202.0 hosts to connect to a different host,



192.168.115.9, but I don't want the 10.1.202.0 hosts to change their original destination address.

Here's what it would look like. Host 10.1.202.57 initiates a ftp connection to 192.168.115.10. The 2621 would then direct the packet to



192.168.115.9 instead. Is this possible using nat?

Does anybody have any idea on this one? Is it too stupid of a question?

For those interested, I was able to accomplish what I wanted with the following command:

ip nat inside source static 192.168.115.9 192.168.115.10

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required