02-10-2023 05:18 AM - edited 02-10-2023 05:20 AM
I am searching for days now, but I can't figure out what to do.
This is what I try to achieve:
PC1 sends packet from IP 10.155.0.26 with destination 100.100.100.100
Router1 receives packet, confirms it is from ip 10.155.0.26 with destination 100.100.100.100 and changes destination to 192.168.114.14
But only when source IP 10.155.0.26 and destination 100.100.100.100 are in this combination.
Is this possible with a router?
I did it once on an Asa while using ASDM, then it looks like this:
** In the image source and destination are "provider", in my case now source is Inside and Destintion is Outside
02-10-2023 05:49 AM - edited 02-10-2023 05:49 AM
Hello
@iotea wrote:
Router1 receives packet, confirms it is from ip 10.155.0.26 with destination 100.100.100.100 and changes destination to 192.168.114.14
But only when source IP 10.155.0.26 and destination 100.100.100.100 are in this combination.
Is this possible with a router?
Yes it is possible, Can you confirm what rtr your are using?
Do you have to it CLI?
Example:
Interface x/x
description LAN port
ip nat inside
Interface x/x
description WAN port
ip nat outside
conf t
ip nat inside source static 10.155.0.25 100.100.100.100
02-10-2023 06:28 AM
Hello Paul,
Thank you for your answer, I use an vIOS router.
With the example given, it translates the source nat 10.155.0.25 to 100.100.100.100 right?
02-10-2023 07:08 AM
Hello
Yes it will
02-10-2023 06:29 AM
adding to other post check below couple of examples and explanation :
https://www.practicalnetworking.net/stand-alone/cisco-asa-nat/
02-10-2023 07:01 AM
Thank you for your answer, but that is how to configure it on Asa. I already did that, I am looking for how to do this on a router.
02-10-2023 07:26 AM
So you looking redirection
Router1 receives packet, confirms it is from ip 10.155.0.26 with destination 100.100.100.100 and changes destination to 192.168.114.14
PC1 10.155.0.26 destination 100.100.100.100
you want to redirect to next host 192.168.114.14 or change the source address 10.155 0.26 to 192.168.114.14 ?
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