?
Solved

Cisco NAT via a Loopback interface. Policy Based Routing?

Posted on 2009-02-11
2
Medium Priority
?
2,445 Views
Last Modified: 2012-05-07
Hello All, this might come across as a odd scenario and to save posting miles of text ill just explain the technical difficulty that were experiencing in the hope that someone can offer some help:

We have a Cisco 2811 router with an outside interface address of 192.168.10.1 /24 and an inside interface address of 192.168.20.1 /24. I want the inside range to appear to anything on the outside of the router as 172.16.10.0.
 
A basic static NAT will not do the trick because it will translate into a 192.168.20.x address. Ive experimented with bouncing the process off a Loopback interface inside the router so the packets pick up a 172.16.10.x translation but that didnt work because i assume the packets exit interface was not the Loopback address.

Could Policy Based Routing be the answer?

Any help is much appreciated.
0
Comment
Question by:jackstark
2 Comments
 
LVL 79

Accepted Solution

by:
lrmoore earned 2000 total points
ID: 23614370
This should work

interface fast 0/0
 description Outside interface
 ip add 192.168.10.1 255.255.255.0
 ip nat outside

interface fast 0/1
 description Inside interface
 ip add 192.168.20.1 255.255.255.0
 ip nat inside

access-list 101 permit ip 192.168.20.0 0.0.0.255 any
ip nat pool 172 172.16.10.1-172.16.10.254 netmask 255.255.255.0
ip nat inside source list 101 pool 172


0
 

Author Closing Comment

by:jackstark
ID: 31597423
Brilliant, thank you!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question