NATing the destination address

Unanswered Question
Apr 21st, 2008

I have configured NAT on the cisco router and wanted to do a address translation for the destination address. My local LAN is 192.168.1.0/24. My server is in a different network 192.168.2.2. from My 192.168.1.0/24 network, i would like to give dummy IP addres 192.168.3.4 and the router should NAT the same to orignal IP address (192.168.2.2) and route it to the destination. Request assistance in achieving the same.

Thank you



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
smahbub Fri, 04/25/2008 - 08:06

NAT is of two types:a)Static and b)Dynamic. Since you want to use two private ip addresses internally you have to configure DYNAMIC NAT on your cisco router.Access lists are also to be configured as a part of NAT process.Following commands are to be given in order to configure the Dynamic NAT:

1. enable

2. configure terminal

3. ip nat pool name start-ip end-ip {netmask netmask | prefix-length prefix-length}

4. access-list access-list-number permit source [source-wildcard]

5. ip nat inside source list access-list-number pool name

6. interface type number

7. ip address ip-address mask

8. ip nat inside

9. exit

10. interface type number

11. ip address ip-address mask

12. ip nat outside


For examples of NAT configuration refer:

http://www.cisco.com/en/US/docs/ios/ipaddr/configuration/guide/iadnat_addr_consv_ps6922_TSD_Products_Configuration_Guide_Chapter

Actions

This Discussion