Re: Real Life NAT Question

From: Carlos Trujillo (carlos.trujillo.jimenez@gmail.com)
Date: Thu Apr 03 2008 - 11:10:26 ART


Matt.

Can you change the nat inside/outside commands in the interfaces? If you
can, this should work:

int e0/1
ip add 172.18.85.89 255.255.255.128
ip nat oustide

int e0/0
ip add 11.10.203.254 255.255.255.0
ip nat inside

ip nat inside source static tcp 11.10.203.25 23 172.18.85.89 16025
extendable

So when you telnet from any network/host sourcing from E0/1 to
172.18.85.8916025 you get redirected
11.10.203.25 23

2008/4/3, Matt Bentley <mattdbentley@gmail.com>:
>
> Hi GS:
>
> Here is what I am trying to do. See diagram below
>
>
>
>
>
>
>
> (Computer)---------------------->R1------------------------------------------>MANY
> DEVICES ON FLAT LAYER 2 NETWORK
> 172.18.85.89(e0/1) (e0/0)11.10.203.254
> 11.10.203.25
> 11.10.203.26
>
> 11.10.203.27
>
>
>
>
> R1:
> int e0/1
> ip add 172.18.85.89 255.255.255.128
>
> int e0/0
> ip add 11.10.203.254 255.255.255.0
> ip nat outside
>
> ip local policy route-map NAT
>
> int l2
> ip add 12.12.12.12 255.255.255.0
> ip nat inside
> ip policy route-map NAT2
>
> route-map NAT
> match ip add 107
> set int l2
>
> route-map NAT2
> set int e0/0
>
> I need some NAT statement that will allow me to translate static port
> numbers.
>
> For example:
> I will be telnetting with telnet://172.18.85.89:16025. When it hits R1, I
> need it changed to 11.10.203.25 (port 23) and forwarded out e0/0. How do
> I
> do this. I can't find a way to do static NAT translation with port
> numbers
> on the destination address. Could someone help me out?
>
> Thanks.
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Thu May 01 2008 - 08:25:49 ART