cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
506
Views
15
Helpful
10
Replies

Nat

alsayed
Level 1
Level 1

Hi

how to configure this:

1)Telnet connections to 100.100.100.254 woud be translated to R3 Lo0(3.3.3.3)

2)Telnet connections to 100.100.100.254 woud be translated to R3 s1/0(10.10.35.3)

many thanks

10 Replies 10

Jon Marshall
Hall of Fame
Hall of Fame

Ali

Could you elaborate. This is the same address 100.100.100.254 so which do you want to translate it to and is it dependant on the source IP address that is doing the telnet.

Jon

sorry Jon!

I Mad Mistake the Second Line its HTTP

10XS

Jon Marshall
Hall of Fame
Hall of Fame

Ali

int s1

ip nat outside

int loopback0

ip nat outside

You need to apply ip nat inside to the interface for the clients that are accessing 100.100.100.254.

access-list 101 permit tcp any host 100.100.100.254 eq 23

access-list 102 permit tcp any host 100.100.100.254 eq 80

ip nat inside source list 101 interface loopback0 ovcerload

ip nat inside source list 102 interface s1/0 overload

Jon

HI Jon

does this Config work:

int s1

ip nat inside

int e0

ip nat outside

ip nat inside source static 3.3.3.3 23 100.100.100.254 23 extendable

ip nat inside source static 10.10.35.3 23 100.100.100.254 23 extendable

does this config Work?

Jon!

the Above Config works?

10xs

Ali

No because you only have "ip nat outside" on one interface e0. And you have used port 23 in both your "ip nat inside source static .." statements.

Could you detail exactly what you want to NAT ie. clients and what you want to NAT to.

Jon

Jon

i made mistake:

What about this?

HI Jon

does this Config work:

int s1

ip nat inside

int e0

ip nat outside

ip nat inside source static 3.3.3.3 23 100.100.100.254 23 extendable

ip nat inside source static 10.10.35.3 80 100.100.100.254 80 extendable

does this config Work?

Jon

i made mistake:

What about this?

HI Jon

does this Config work:

int s1

ip nat inside

int e0

ip nat outside

ip nat inside source static 3.3.3.3 23 100.100.100.254 23 extendable

ip nat inside source static 10.10.35.3 80 100.100.100.254 80 extendable

does this config Work?

Ali

No this wouldn't work. Could you just clarify exactly what you are trying to do ie.

1) when a client telnets to 100.100.100.254 you want to change the client IP to 3.3.3.3 and when a client uses http to 100.100.100.254 you want to change the client IP to 10.10.35.3

OR

2) When a client telnets to 100.100.100.254 you want to change the destination IP to 3.3.3.3 and when a client uses http to 100.100.100.254 you want to change the destination IP to 10.10.35.3

Which one is it ?

Jon

Hi Jon!

telnet sesion From any router to 100.100.100.254 will result in a connection to 3.3.3.3

HTTP sesion From any router to 100.100.100.254 will result in a connection to 10.10.35.3

MUCH APPRECIATE UR HELP

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: