07-25-2012 03:13 AM - edited 03-07-2019 07:58 AM
Hello everyone!
I need some kind of NAT on a cisco router to translate destination address
Say, if a PC send packets from 192.168.1.1 to 1.1.1.1 I need to translate 1.1.1.1 to 2.2.2.2
I think it can be achieved with routes maps, but dont know how
Thank you in advance!
07-25-2012 07:43 AM
Hi,
Am not pretty sure about your query. Your source is 192.168.1.1 and the destination is 1.1.1.1
You want to translate 192.168.1.1 to 2.2.2.2 to reach 1.1.1.1? or something different you need.
Please do rate if the given information helps.
By
Karthik
07-25-2012 07:52 AM
I need to translate 1.1.1.1 to 2.2.2.2, so it would look like a PC sends traffic to 2.2.2.2
Our PC is harcoded to send packets to 1.1.1.1 - it can not be changed. But we need the destination address (1.1.1.1) to be 2.2.2.2
07-26-2012 12:13 AM
Hi,
The 1.1.1.1 and 2.2.2.2 are public IPs and the 1.1.1.1 is the public IP that connected to your router interface.
Please clarify,
Regards,
07-26-2012 12:30 AM
Yes, they are public ip addreses, non of them are connected to my router.
Say PC is 192.168.1.1, and Router inside ip is 192.168.1.2, outside address is 3.3.3.3 (public)
PC sends traffic to 1.1.1.1 (to the internet), I need to translate 1.1.1.1 to 2.2.2.2
07-26-2012 12:45 AM
Hi,
Actual Public ip of the destination server is 1.1.1.1. But your PC will try reaching that server by 2.2.2.2. So that 2.2.2.2 ip once again will get NAT to 1.1.1.1. Thats is what your requirement right???
Please do rate for the helpful posts.
By
Karthik
07-26-2012 05:05 AM
No, instead, actual ip address is 2.2.2.2, but PC sends only to 1.1.1.1
07-26-2012 12:29 AM
Hi,
You can try
http://www.cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080093f8e.shtml
H2H
Bhargav
07-26-2012 05:07 AM
This example changes Source Address only..
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide