Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

translating to a specific outgoing IP


We have a cisco1270.

Serial IP is xxx.xxx.250.54

E0 side i have xxx.xxx.205.41-.46 translating to private addresses 192.168.xxx.41-.46 through a ip source static etc string
How would I get the private address to translate to a specific public address outbound?

Ultimately everything is going through xxx.xxx.250.54 to get to the next hop which is xxx.xxx.250.53 ISP side and is coming up as 250.54 from all systems.

Any way to change that so that it translates to my usable IP range or no?
1 Solution
If you are seeing the above behavior, you probably have a NAT translation that looks like this:

ip nat inside source list 1 interface Serial0 overload

You can add individual host translations:

ip nat inside static source <private ip> <public ip>

Or you can specifiy your public block as follows:

ip nat pool NATPOOL xxx.xxx.205.41 xxx.xxx.206.46 netmask 255.255.255.yyy
ip nat inside source list 1 pool NATPOOL overload
njmattAuthor Commented:
ip nat inside static source <private ip> <public ip>

I had that line for my inbound VPN for one server, but didn't know it did what I was looking for in regard to this problem
thanks man!

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now