Simple Destination NAT question

Unanswered Question
Jul 18th, 2007
User Badges:
  • Bronze, 100 points or more

Hi,


I just want to nat a destination ip address:


I have a router with e0 and e1.

There are packets arriving e0 with destination 10.1.1.1 and any source. I want to change the destination address to 10.2.2.2 statically.


There are no other NAT configurations on this router.


Can you please post an example config?


Thanks in advance.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Jon Marshall Wed, 07/18/2007 - 07:45
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Hi


interface e0

ip nat inside


interface e1

ip nat outside


ip nat outside source static 10.2.2.2 10.1.1.1



All packets arrriving at e0 with destination IP address of 10.1.1.1 will have the destination translated to 10.2.2.2 before being sent out e1


HTH


Jon

Actions

This Discussion