Cisco Systems Cisco 1812 subnet to subnet NAT

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Cisco 1812 subnet to subnet NAT Amadej 09-03-07
Posted by Amadej on September 3, 2007, 5:42 am
Please log in for more thread options
Hello,

I'm a bit new to Cisco router configurations and I'm wondering if it
is possible to specify a 1-1 NAT for whole subnets. I'd like our
internal address range (let's say 10.0.0.1/255.255.255.0) to be
translated to our external address range (let's say
x.x.x.1/255.255.255.0) - but I can't find a way to configure the
router to do this apart from entering static NAT rules for each IP
translation (and there is apparently a 100 rule limit on the
routers?).

Basically I want 10.0.0.1 to be translated to x.x.x.1 and 10.0.0.2 to
x.x.x.2 and so on.

From what I understand I can't do it with dynamic NAT and address
pools because I have no way of controlling which internal IP gets
which external IP?

So how does one insert a static 1-1 NAT for a whole address range? All
I found were commands for a static 1-1 IP to IP nat.

Thanks in advance!

Posted by Merv on September 4, 2007, 2:53 pm
Please log in for more thread options
> Hello,
>
> I'm a bit new to Cisco router configurations and I'm wondering if it
> is possible to specify a 1-1 NAT for whole subnets. I'd like our
> internal address range (let's say 10.0.0.1/255.255.255.0) to be
> translated to our external address range (let's say
> x.x.x.1/255.255.255.0) - but I can't find a way to configure the
> router to do this apart from entering static NAT rules for each IP
> translation (and there is apparently a 100 rule limit on the
> routers?).
>
> Basically I want 10.0.0.1 to be translated to x.x.x.1 and 10.0.0.2 to
> x.x.x.2 and so on.
>
> From what I understand I can't do it with dynamic NAT and address
> pools because I have no way of controlling which internal IP gets
> which external IP?
>
> So how does one insert a static 1-1 NAT for a whole address range? All
> I found were commands for a static 1-1 IP to IP nat.
>
> Thanks in advance!



Match Host

The ability to configure NAT to assign the same Host portion of an IP
Address and only translate the Network prefix portion of the IP
Address. Useful where you are using the host portion as a means to
identify or number users uniquely.

Host Number Preservation:

For ease of network management, some sites wish to translate prefixes,
not addresses. That is, they wish the translated address to have the
same host number as the original address. Of course, the two prefixes
must be of the same length. This feature can be enabled by configuring
dynamic translation as usual, but configuring the address pool to be
of type "match-host":

ip nat pool fred <start> <end> prefix-length <len> type match-host




Similar ThreadsPosted
Cisco 1812 subnet to subnet NAT September 3, 2007, 5:42 am
Add a private subnet to existing real class C subnet January 11, 2007, 2:58 pm
cannot ping from subnet A to subnet B for a specific host August 3, 2006, 1:58 pm
Cisco VPN and internal subnet July 25, 2005, 6:14 pm
Cisco Aironet 350 on subnet March 19, 2006, 10:24 pm
Cisco 837 support multiple subnet ?? March 24, 2006, 12:16 am
2 Subnet mask on Cisco 1721 from ISP November 1, 2006, 11:52 am
This week in Network World's Cisco Subnet February 20, 2008, 1:34 pm
Expandin Subnet on Cisco 3550 Layer 3 Switch March 23, 2006, 4:31 pm
Cisco router IP redirect back to inside subnet May 30, 2006, 2:08 pm
Respected Cisco trainer Wendell Odom blogging for Network World's Cisco Subnet September 10, 2007, 5:47 pm
Best way to subnet a /24...... January 12, 2007, 6:53 pm
when should i turn off ip subnet-zero ? August 2, 2006, 12:13 pm
subnet calculation February 3, 2007, 12:22 pm
ID a DSL user through subnet data? February 11, 2005, 9:34 pm
Residential Cabling Guide

Home Cabling Guide

Finally, an instantly downloadable book that saves you thousands in home improvement dollars! Enjoy living in 21st century technology-advanced home while increasing its selling value and competitive advantage on the real estate market. Whether your cabling is for home office or high-tech leisure, you can wire your home yourself or learn "wirish" to speak with your cabling contractors in their language!

Learn More