Cisco CISCO851-K9 - 851 Integrated Services Router Configuration Manual page 43

Access routers
Table of Contents

Advertisement

Chapter 3
Configuring PPP over Ethernet with NAT
Command
Step 5
no shutdown
Example:
Router(config-if)# no shutdown
Router(config-if)#
Step 6
exit
Example:
Router(config-if)# exit
Router(config)#
Step 7
interface type number
Example:
Router(config)# interface fastethernet 4
Router(config-if)#
Step 8
ip nat {inside | outside}
Example:
Router(config-if)# ip nat outside
Router(config-if)#
Step 9
no shutdown
Example:
Router(config-if)# no shutdown
Router(config-if)#
Step 10
exit
Example:
Router(config-if)# exit
Router(config)#
Step 11
access-list access-list-number {deny | permit}
source [source-wildcard]
Example:
Router(config)# access-list 1 permit
192.168.1.0 255.255.255.0
If you want to use NAT with a virtual-template interface, you must configure a loopback interface. See
Note
Chapter 1, "Basic Router Configuration,"
OL-5332-01
for information on configuring a loopback interface.
Cisco 850 Series and Cisco 870 Series Access Routers Software Configuration Guide
Configure Network Address Translation
Purpose
Enables the configuration changes just made to the
Ethernet interface.
Exits configuration mode for the Fast Ethernet
interface.
Enters configuration mode for the Fast Ethernet
WAN interface (FE4) to be the outside interface
for NAT.
Identifies the specified WAN interface as the NAT
outside interface.
For details about this command and additional
parameters that can be set, as well as information
about enabling static translation, see the
Cisco IOS IP Command Reference, Volume 1 of 4:
Addressing and
Services.
Enables the configuration changes just made to the
Ethernet interface.
Exits configuration mode for the Fast Ethernet
interface.
Defines a standard access list indicating which
addresses need translation.
All other addresses are implicitly denied.
Note
3-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents