11-27-2007 03:19 PM - edited 03-03-2019 07:42 PM
Hi all
I've got a requirement where hosts on the
same segment must talk to other hosts on the same segment via another address.
source ip 10.200.1.1 dest ip 10.100.1.2 but dest is really 10.200.1.2.
This is for DR as the hosts are replicas of production but with different ip addresses with the same application configurations. I tried to create a loopback address and designate that as the outside interface for nat and the LAN interface as the inside. I then added a static nat for the translation and a static route to point 10.100.1.2 to the loopback. I'm wondering if this approach would work.
Thanks in advance
Solved! Go to Solution.
11-29-2007 05:49 PM
Hi,
this would be your configuration example:
http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094430.shtml
Hope this helps, please rate post if it does!
11-29-2007 01:26 PM
Maybe try putting a secondary IP address in the 10.200.1.0 range on the interface that the 10.200.1.2 device connects to.
11-29-2007 05:49 PM
Hi,
this would be your configuration example:
http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094430.shtml
Hope this helps, please rate post if it does!
11-29-2007 05:54 PM
Thanks.. i found this as well, initially i wanted to avoid using pbr but it looks like i have to, either that or use a dedicated nat router.
11-29-2007 07:09 PM
I spoke too soon.. i think i'm getting myself confused.. this is what i want
NAT: s: 10.200.1.1, d:10.100.1.1 -> 10.200.1.2
i'm not too if this can be done with PBR or NAT on a stick. i believe i'll need to NAT for both the source and destination otherwise i'll get duplicate ip issues.
11-29-2007 08:20 PM
Is that ur application want the packet for 10.100.1.1to be diverted to host 10.200.1.2 on the the segment??
if so,i dont know if the following solution a blunder,since i am assuming your senario,
Instead of nat,Create an static arp entry for 10.100.1.1 with mac of 10.200.1.2 ,so that the frame diverted towards device with ip 10.200.1.2.
and that device should be configured with secondary address 10.100.1.1.
11-29-2007 09:03 PM
yep that's what i want to do,
the problem is that the host can't take secondary address.. this was my first option.
anyway is there a way i can do a source and destination nat along with pbr to do this?
so s:10.200.1.1 ->192.168.1.1, d: 10.100.1.1 ->10.200.1.2
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: