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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Cisco IOS NAT to change destination address

Hello everyone!

I need some kind of NAT on a cisco router to translate destination address

Say, if a PC send packets from 192.168.1.1 to 1.1.1.1 I need to translate 1.1.1.1 to 2.2.2.2

I think it can be achieved with routes maps, but dont know how

Thank you in advance!

8 REPLIES

Cisco IOS NAT to change destination address

Hi,

Am not pretty sure about your query. Your source is 192.168.1.1 and the destination is 1.1.1.1

You want to translate 192.168.1.1 to 2.2.2.2 to reach 1.1.1.1? or something different you need.

Please do rate if the given information helps.

By

Karthik

New Member

Cisco IOS NAT to change destination address

I need to translate 1.1.1.1 to 2.2.2.2, so it would look like a PC sends traffic to 2.2.2.2

Our PC is harcoded to send packets to 1.1.1.1 - it can not be changed. But we need the destination address (1.1.1.1) to be 2.2.2.2

New Member

Cisco IOS NAT to change destination address

Hi,

The 1.1.1.1 and 2.2.2.2 are public IPs and the 1.1.1.1 is the public IP that connected to your router interface.

Please clarify,

Regards,

New Member

Cisco IOS NAT to change destination address

Yes, they are public ip addreses, non of them are connected to my router.

Say PC is 192.168.1.1, and Router inside ip is 192.168.1.2, outside address is 3.3.3.3 (public)

PC sends traffic to 1.1.1.1 (to the internet), I need to translate 1.1.1.1 to 2.2.2.2

Cisco IOS NAT to change destination address

Hi,

Actual Public ip of the destination server is 1.1.1.1. But your PC will try reaching that server by 2.2.2.2. So that 2.2.2.2 ip once again will get NAT to 1.1.1.1. Thats is what your requirement right???

Please do rate for the helpful posts.

By

Karthik

New Member

Cisco IOS NAT to change destination address

No, instead, actual ip address is 2.2.2.2, but PC sends only to 1.1.1.1

New Member

Cisco IOS NAT to change destination address

New Member

Cisco IOS NAT to change destination address

This example changes Source Address only..

2378
Views
0
Helpful
8
Replies
CreatePlease login to create content