Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP Destination

Status
Not open for further replies.

nahpxela

Technical User
Nov 2, 2007
3
0
0
US
Hi,

Is it possible to change a requested IP destination sent to an 1841? I've read up on NAT, but I'm not sure if it's what I'm looking for since it translates SOURCE IP address?

Lets say a client requests to connect to destination 192.168.1.100, but I want it to connect to 10.20.30.100 instead granted it has the proper routing. Is it possible for the router to do this?

I'm not that experienced so please be gentle if you can point me in the right direction. I've read up on NAT-on-a-stick also since I'm only using one interface, but that didn't help much.

Thanks!
 
So you want a client on the inside of your network, when connecting to a private IP of 192.168.1.100 to be NAT'd to a private IP of 10.20.30.100 on the same inside network?
 
I think I may know what you're trying to do. Correct me if I'm wrong.

So, if you have a router and if the 192 network is on 1 interface and the 10 network is on a separate interface..

The 192 interface will be the nat inside interface.
The 10 interface will be the nat outside interface.

You would need the command:

ip nat outside source static 10.20.30.100 192.168.1.100

What that will do, is any hosts on the 192 network that connect to 192.168.1.100 will be actually connecting to the 10.20.30.100 server/host. The outside server will appear as if it's on the inside of the 192 network and the hosts on 192 will be able to access it via the 192.168.1.100 address.

Is that what you wanted?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top