The following examples illustrate a few scenarios.
Example 6-16 shows how to configure static NAT (persistent translation) for an Inside IP address (10.1.1.1) to
an Outside IP address (209.165.200.1).
Example 6-16. Configuring Inside NAT (1-to-1) Static Translation
hostname(config)# static (inside,outside) 209.165.200.1 10.1.1.1 netmask
255.255.255.255
Example 6-17 shows how to configure an Outside NAT (persistent translation) using a static map for the Outside
address (209.165.201.15) to an Inside address (10.1.1.6).
Example 6-17. Configuring Outside NAT (1-to-1) Static Translation
hostname(config)# static (outside,inside) 10.1.1.6 209.165.201.15 netmask
255.255.255.255
Example 6-18 shows how to configure a static map (persistent translation) for an entire subnet (1-to-1, host-tohost)
with a 24-bit subnet mask.
Example 6-18. Configuring Static NAT (1-to-1) for the Entire Subnet
hostname(config)# static (inside,outside) 209.165.201.0 10.1.1.0 netmask
255.255.255.0
Static Port Address Translation (PAT)
Static PAT is similar to static NAT, with the exception that it allows for specifying the Layer 4 (TCP or UDP) port
information for the real and mapped addresses.
This feature is useful for providing a single address for global users to access TFTP, HTTP, and Simple Mail
Transfer Protocol (SMTP) services where the services are actually available on different servers on the local
network.
Pages:
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303