Chapter 3 Configuring PPP over Ethernet with NAT

Configure Network Address Translation

 

Command

 

Purpose

Step 6

 

 

 

exit

 

Exits configuration mode for the Fast Ethernet

 

 

 

interface.

 

Example:

 

 

 

 

Router(config-if)# exit

 

 

 

Router(config)#

 

 

Step 7

 

 

interface type number

Enters configuration mode for the Fast Ethernet

 

 

 

WAN interface (FE4) to be the outside interface

 

Example:

 

for NAT.

 

Router(config)# interface fastethernet 4

 

 

 

Router(config-if)#

 

 

Step 8

 

 

ip nat {inside outside}

Identifies the specified WAN interface as the NAT

 

 

 

outside interface.

 

Example:

 

For details about this command and additional

 

 

 

 

Router(config-if)# ip nat outside

parameters that can be set, as well as information

 

Router(config-if)#

about enabling static translation, see the

 

 

 

 

 

 

Cisco IOS IP Command Reference, Volume 1 of 4:

 

 

 

Addressing and Services.

Step 9

 

 

 

no shutdown

 

Enables the configuration changes just made to the

 

 

 

Ethernet interface.

 

Example:

 

 

 

 

Router(config-if)# no shutdown

 

 

 

Router(config-if)#

 

 

Step 10

 

 

 

exit

 

Exits configuration mode for the Fast Ethernet

 

 

 

interface.

 

Example:

 

 

 

 

Router(config-if)# exit

 

 

 

Router(config)#

 

 

Step 11

 

 

access-list access-list-number{deny permit}

Defines a standard access list indicating which

 

source [source-wildcard]

addresses need translation.

 

Example:

 

Note

All other addresses are implicitly denied.

 

 

 

 

 

Router(config)# access-list 1 permit

 

 

 

192.168.1.0

0.0.0.255

 

 

 

 

 

 

 

Note If you want to use NAT with a virtual-template interface, you must configure a loopback interface. See

Chapter 1, “Basic Router Configuration,” for information on configuring a loopback interface.

For complete information on the NAT commands, see the Cisco IOS Release 12.3 documentation set. For more general information on NAT concepts, see Appendix B, “Concepts.”

Cisco Secure Router 520 Series Software Configuration Guide

 

OL-14210-01

3-7

 

 

 

Page 43
Image 43
Cisco Systems 520 series manual Ip nat inside outside, Access-list access-list-number deny permit, Source source-wildcard