Cisco Systems On internal IP to many external IPs

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
On internal IP to many external IPs Lars Bonnesen 08-22-06
Posted by Lars Bonnesen on August 22, 2006, 6:03 am
Please log in for more thread options
I is possible to configure a ASA5520 with ASDM 5.0 to NAT an internal IP
adress to many external shifting IPs sequentially?

That is have for instance the internal address a.a.a.a make one session
through the firewall natting it to b.b.b.b, the next session automaticall to
c.c.c.c, the next to d.d.d.d (all from a predefined pool)?

Regards, Lars.



Posted by Lutz Donnerhacke on August 22, 2006, 6:10 am
Please log in for more thread options
* Lars Bonnesen wrote:
> That is have for instance the internal address a.a.a.a make one session
> through the firewall natting it to b.b.b.b, the next session automaticall to
> c.c.c.c, the next to d.d.d.d (all from a predefined pool)?

You can nat a single local IP to different global IPs statically depending
on the various foreign IPs you are connecting to.

Use "nat ... access-list" for this purpose.

Posted by Lars Bonnesen on August 22, 2006, 3:50 pm
Please log in for more thread options

>* Lars Bonnesen wrote:

> You can nat a single local IP to different global IPs statically depending
> on the various foreign IPs you are connecting to.
>
> Use "nat ... access-list" for this purpose.

It should be regardless is connection IP - no policy NAT.

Regards, Lars.



Posted by Walter Roberson on August 22, 2006, 12:02 pm
Please log in for more thread options
>I is possible to configure a ASA5520 with ASDM 5.0 to NAT an internal IP
>adress to many external shifting IPs sequentially?

>That is have for instance the internal address a.a.a.a make one session
>through the firewall natting it to b.b.b.b, the next session automaticall to
>c.c.c.c, the next to d.d.d.d (all from a predefined pool)?

http://www.cisco.com/univercd/cc/td/doc/product/multisec/asa_sw/v_7_2/cmd_ref/gh_711.htm#wp1682258

global (mapped_ifc) nat_id {mapped_ip[-mapped_ip] [netmask mask] | interface}

http://www.cisco.com/univercd/cc/td/doc/product/multisec/asa_sw/v_7_2/cmd_ref/no_711.htm#wp1651008

Dynamic NAT translates a group of real addresses to a pool of
mapped addresses that are routable on the destination network. The
mapped pool can include fewer addresses than the real group. When a
host you want to translate accesses the destination network, the
security appliance assigns it an IP address from the mapped pool.
The translation is added only when the real host initiates the
connection. The translation is in place only for the duration of
the connection, and a given user does not keep the same IP address
after the translation times out

Posted by Lars Bonnesen on August 22, 2006, 4:00 pm
Please log in for more thread options


> Dynamic NAT translates a group of real addresses to a pool of
> mapped addresses that are routable on the destination network. The
> mapped pool can include fewer addresses than the real group. When a
> host you want to translate accesses the destination network, the
> security appliance assigns it an IP address from the mapped pool.
> The translation is added only when the real host initiates the
> connection. The translation is in place only for the duration of
> the connection, and a given user does not keep the same IP address
> after the translation times out

Ok, This look like what I am asking for. I tried to configure dynamic NAT
via ASDM (I am not familiar with IOS, but it looks like it's the same
according to your links privided). But... it does not seem to have the
intended function.

What I have done is to create one "Global Address Pool" for the external
interface. It includes a range of tre IP addresses. Then I have created two
dynamic NAT entries. The original IP is their local address and the external
address is translated to this global address pool. But what happens is that
each internal access gets translated to the same external address. What I
would want is that each internal address gets either a sequential or random
address the the created global address pool. What have I done wrong?

Is what I am trying to achive impossible?

Regards, Lars.



Similar ThreadsPosted
Access from internal hosts to internal servers using external address April 18, 2007, 7:10 am
cisco ios nat from internal->external->internal December 11, 2006, 8:05 am
Map external IP as internal IP? November 3, 2005, 11:08 am
On internal IP to many external IPs August 22, 2006, 6:03 am
Internal Web Server, External DNS November 16, 2006, 1:48 pm
Map external IP (PPPoE) to internal IP March 6, 2007, 12:58 pm
external ip on internal interface March 7, 2007, 12:53 pm
Accessing internal server using external IP? January 18, 2007, 8:27 pm
mapping external dynamic ip to internal port November 9, 2005, 12:57 pm
Newbie: Cisco 800-series - Access internal server via external IP, when using NAT? May 4, 2006, 10:48 am
Pix 506e w/5 static outside IPs - How to create a rule to allow ALL tcp/udp traffic from one outside IP to an internal IP (for an internal router/NAT with it's own subnet) April 6, 2008, 3:39 pm
Cisco PIX 501 - Port forwarded to an internal host via Static NAT doesn't work from internal host January 19, 2006, 4:46 pm
PIX VPN using external addresses September 6, 2005, 8:33 pm
Howto hit an external ip with VPN September 27, 2005, 4:11 pm
PIX 515 Switch 8 External IPs October 24, 2005, 3:37 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