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

Redirecting an IP address

mwhinery
Level 1
Level 1

I have a router with the address 192.168.0.103 on the E1 interface. I need all traffic sent to 192.168.0.103 (or all traffic received on E1) to be sent out the E0 interface. The destination address needs to be changed to 192.168.0.33. If it can not be NATed to a range that it has defined on another interface, then I can perform the NAT on a second device (a non-Cisco router of limited capabilities) and would need the destination address to be 172.16.1.33. I tried the following, which I assume wouldn't work because the router was receiving the data itself, rather than performing NAT on it.

interface Ethernet0

ip address 10.100.0.2 255.255.255.0

ip nat inside

interface Ethernet1

ip address 192.168.0.103 255.255.255.0

ip nat outside

!

ip nat inside source static 192.168.0.33 172.16.1.33

ip nat outside source static 192.168.0.103 172.16.1.33

(I also tried other permutations in the nat statements because I wasn't absolutely sure of the order for both)

1 Reply 1

raymong
Level 4
Level 4

I'm not clear as to what you are trying to accomplish with this config. If you want to translate the destination for all traffic sourced from the E1 interface and send it out the E0 intefrace, why would you want to translate it to 192.168.0.103 since that network is connected off the E1 interface. Is this because you have an overlapping network configured? A topology and an explanation as to what you're trying to set up would help.