Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Simple Destination NAT question

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 REPLY
Hall of Fame Super Blue

Re: Simple Destination NAT question

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

120
Views
0
Helpful
1
Replies
CreatePlease to create content