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

Redirecting One IP address to another IP address.

Is there a way to redirect the traffic for one IP address on one subnet to another IP address on another subnet?

5 REPLIES
Bronze

Re: Redirecting One IP address to another IP address.

Could you elaborate more on your requirement? In general, it is possible to rewrite source or destination of the packets using NAT.

Community Member

Re: Redirecting One IP address to another IP address.

The traffic is internal private addressing from one vlan to another. Basically they are wanting to route all traffic sent to a server to another server on another Vlan.

Ex.

Traffic sent to 10.1.1.2 on vlan1 needs to be redirected to 10.1.2.2 vlan2.

Bronze

Re: Redirecting One IP address to another IP address.

Hi Randy,

Are both vlan connected to same switch which provides inter-VLAN routing? What hardware is that?

A simple network topology will be helpful to understand your scenario better way.

Community Member

Re: Redirecting One IP address to another IP address.

The L3 is a 6509R that is doing the inter-VLAN routing. The servers are on different switches. One is on a 3750 the other a 2970G.

Bronze

Re: Redirecting One IP address to another IP address.

I have never done natting on 6500 with SVI interfaces involved. So keeping that in mind, here is what I will do on Router to change destination.

ip nat inside source static 10.1.2.2 10.1.1.2

interface

ip nat outside

interface

ip nat inside

This configuration will translates the destination of the IP packets that travel outside interface(s) to inside interface.

You need to configure 'ip nat outside' on all the interfaces from where traffic is coming into 6500 to access 10.1.1.2.

3082
Views
0
Helpful
5
Replies
CreatePlease to create content