04-10-2006 10:22 AM - edited 03-03-2019 12:21 PM
Hi, Messrs!
I would like to know, how can I do a translation for Outside Global addresses for one IP address and that comes from a specific interface serial (example serial 3/5)?
I would like to translate destination ip 10.12.0.170 to 192.168.1.1, but only
for packets comes from serial 3/5.
I can´t do the translation for outside global addresses in other interfaces
serials.
What wrong with that cfg?
interface FastEthernet0/0
ip address 10.145.107.131 255.255.255.0
ip nat inside
!
interface Serial3/5
ip address 192.168.151.1 255.255.255.0
ip nat outside
!
ip nat pool PROBLEMA 10.12.0.170 10.12.0.170 netmask 255.255.255.0
ip nat inside source list 50 pool PROBLEMA
access-list 50 permit 192.168.1.1
thanks in advance,
Renato
04-10-2006 10:32 AM
You don't need a nat pool if you are doing just static NAT. All you need is a static nat entry (see below) for transalating your global address of 10.12.0.170 to inside address of 192.168.1.1. Remove all but the interface nat commands and add the static nat noted below.
ip nat inside source static 192.168.1.1 10.12.0.170
Pls. rate all helpful posts.
HTH,
Sundar
04-10-2006 11:01 AM
04-10-2006 04:02 PM
Renato,
May be I am not following something here.
To clear things up.
Global IP: 10.12.0.170.
Local IP: 192.168.1.1
192.168.1.1 is a host connected to E0/0 on your inside network. Users on the outside of s3/5 will try to get to the server using IP of 10.12.0.170 and it should be transalated to 192.168.1.1.
But there are other users on other serial interfaces, which are configured as nat outisde interfaces, they will try to get to 192.168.1.1 using it's local IP and you want that to work as well.
If I understood your requirement incorrectly and then let me know what and where.
--Sundar
04-11-2006 06:10 AM
Sundar,
please look this new file attached. This file have a example of our conections, where we have 3 clients, but the client-3 can not connect with server 192.168.1.1 and can not do a NAT in their router.
So we need to do this NAT of 10.12.0.170 to 192.168.1.1.
I hope you understand me.
thanks,
Renato
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: