
16-24
Catalyst 6500 Series Switch and Cisco 7600 Series Router Firewall Services Module Configuration Guide using ASDM
OL-20748-01
Chapter 16 Configuring NAT
Using Dynamic NAT and PAT
Figure 16-18
NAT and PAT Together
See the following commands for this example:
hostname(config)#
nat (inside) 1 10.1.2.0 255.255.255.0
hostname(config)#
global (outside) 1 209.165.201.3-209.165.201.4
hostname(config)#
global (outside) 1 209.165.201.5
For outside NAT (from outside to inside), you need to use the
outside
keyword in the
nat
command. If
you also want to translate the same traffic when it accesses an outside interface (for example, traffic on
a DMZ is translated when accessing the Inside and the Outside interfaces), then you must configure a
separate
nat
command without the
outside
option. In this case, you can identify the same addresses in
both statements and use the same NAT ID. (See
Figure 16-19
.) Note that for outside NAT (DMZ interface
to Inside interface), the inside host uses a
static
command to allow outside access, so both the source
and destination addresses are translated.
Web Server:
www.cisco.com
Outside
Inside
Global 1: 209.165.201.3-
209.165.201.4
Global 1: 209.165.201.5
NAT 1: 10.1.2.0/24
10.1.2.27
10.1.2.28
10.1.2.29
132928
Translation
209.165.201.3
10.1.2.27
Translation
209.165.201.4
10.1.2.28
Translation
209.165.201.5:6096
10.1.2.29
Summary of Contents for 6500 - Catalyst Series 10 Gigabit EN Interface Module Expansion
Page 35: ...P A R T 1 Getting Started and General Information ...
Page 36: ......
Page 297: ...P A R T 2 Configuring the Security Policy ...
Page 298: ......
Page 521: ...P A R T 3 System Administration ...
Page 522: ......
Page 613: ...P A R T 4 Reference ...
Page 614: ......