Cisco ASA 5505 User Manual

Page 599

Advertising
background image

30-17

Cisco ASA 5500 Series Configuration Guide using the CLI

Chapter 30 Configuring Network Object NAT

Configuration Examples for Network Object NAT

Step 4

Create a network object for the outside web server:

hostname(config)# object network myWebServ

Step 5

Define the web server address:

hostname(config-network-object)# host 209.165.201.12

Step 6

Configure static NAT for the web server:

hostname(config-network-object)# nat (outside,inside) static 10.1.2.20

Inside Load Balancer with Multiple Mapped Addresses (Static NAT,
One-to-Many)

The following example shows an inside load balancer that is translated to multiple IP addresses. When
an outside host accesses one of the mapped IP addresses, it is untranslated to the single load balancer
address. Depending on the URL requested, it redirects traffic to the correct web server. (See

Figure 30-3

).

Figure 30-3

Static NAT with One-to-Many for an Inside Load Balancer

Step 1

Create a network object for the addresses to which you want to map the load balancer:

Host

Outside

Inside

Load Balancer
10.1.2.27

Web Servers

Undo Translation

10.1.2.27

209.165.201.3

Undo Translation

10.1.2.27

209.165.201.4

Undo Translation

10.1.2.27

209.165.201.5

248633

Advertising