From: Voss, David (dvoss@xxxxxxxxxxxx)
Date: Mon Aug 26 2002 - 17:40:26 GMT-3
Here is a NAT Scenario that I cannot find a solution for, but I believe
there must be one:
The Goal: Traffic destined for an IP address must be redirected to a
different one.
Example: Client pings 172.20.20.25, this traffic is redirected to
172.20.50.25 without the user knowing, and a reply is returned.
The Problem: What if your router is running the client (inside) subnet on
the same interface as the server (outside) interface?
interface FastEthernet0/1
ip address 172.20.20.20 255.255.255.0 secondary
ip address 172.20.50.20 255.255.255.0
no ip directed-broadcast
no keepalive
full-duplex
end
How do you apply ip nat (inside/outside)?
ip nat inside (where?)
ip nat outside (where?)
ip nat inside source static tcp 172.20.20.25 172.20.50.25
This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:48:38 GMT-3