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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Nat

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
Hall of Fame Super Blue

Re: Nat

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

New Member

Re: Nat

sorry Jon!

I Mad Mistake the Second Line its HTTP

10XS

Hall of Fame Super Blue

Re: Nat

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

New Member

Re: Nat

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?

New Member

Re: Nat

Jon!

the Above Config works?

10xs

Hall of Fame Super Blue

Re: Nat

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

New Member

Re: Nat

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?

New Member

Re: Nat

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?

Hall of Fame Super Blue

Re: Nat

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

New Member

Re: Nat

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

211
Views
15
Helpful
10
Replies
CreatePlease to create content