cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
370
Views
0
Helpful
3
Replies
aavelar
Beginner

Cisco Destination NAT

I couldn't find a way to set up a Destination NAT on a Cisco ASR router.

Source: 10.100.0.0/24
Destination server: 192.168.0.1
Translated destination: 192.168.100.1

I need the destination IP to change to 192.168.100.1.
I could solve with nat inside source static 192.168.0.1 192.168.100.1 however, the server still needs to originate other streams with source IP 192.168.100.1.
With static NAT, every packet from the server changes to 192.168.0.1.

Is there any way to dynamically configure DNAT?

3 REPLIES 3
paul driver
VIP Mentor

Hello

Not sure i follow this-  
10.100.0.0/24 is your internal network and you have public host 192.168.0.1, and you want your lan users to reach the public host via 192.168.100.1?



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future

Paul,

 

     You are right. This is the question.

     This simple NAT works, but, there is another thing. When the server originates traffic, Its IP should not be translate. The NAT is only to flow:

 

Source: 10.100.0.0/24
Destination server: 192.168.0.1
Translated destination: 192.168.100.1

 

Hello


@aavelar wrote:

I could solve with nat inside source static 192.168.0.1 192.168.100.1

The above i understand however the last part of your statement below i dont?

 


@aavelar wrote:

however, the server still needs to originate other streams with source IP 192.168.100.1.
With static NAT, every packet from the server changes to 192.168.0.1.


Do you mean you have PAT enabled for all internal clients also.



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
Content for Community-Ad