cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
225
Views
0
Helpful
1
Replies

Simple Destination NAT question

admin_2
Level 3
Level 3

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 1

Jon Marshall
Hall of Fame
Hall of Fame

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

Review Cisco Networking products for a $25 gift card