01-28-2008 03:29 AM - edited 03-05-2019 08:44 PM
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
01-28-2008 03:36 AM
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
01-28-2008 03:39 AM
sorry Jon!
I Mad Mistake the Second Line its HTTP
10XS
01-28-2008 04:02 AM
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
01-28-2008 09:49 AM
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?
01-28-2008 12:39 PM
Jon!
the Above Config works?
10xs
01-28-2008 01:07 PM
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
01-29-2008 02:30 AM
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?
01-29-2008 02:32 AM
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?
01-29-2008 03:27 AM
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
01-29-2008 09:25 AM
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
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: