3-8
Cisco 1800 Series Integrated Services Routers (Fixed) Software Configuration Guide
OL-6426-02
Chapter 3 Configuring PPP over Ethernet with NAT
Configure Network Address Translation
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.
Step 5
no shutdown
Example:
Router(config-if)#
no shutdown
Router(config-if)#
Enables the configuration changes just made to the
Ethernet interface.
Step 6
exit
Example:
Router(config-if)#
exit
Router(config)#
Exits configuration mode for the Fast Ethernet
interface.
Step 7
interface
type number
Example:
Router(config)#
interface fastethernet 0
Router(config-if)#
Enters configuration mode for the Fast Ethernet
WAN interface (FE0 or FE1) to be the outside
interface for NAT.
Step 8
ip nat
{
inside
|
outside
}
Example:
Router(config-if)#
ip nat outside
Router(config-if)#
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
.
Step 9
no shutdown
Example:
Router(config-if)#
no shutdown
Router(config-if)#
Enables the configuration changes just made to the
Ethernet interface.
Step 10
exit
Example:
Router(config-if)#
exit
Router(config)#
Exits configuration mode for the Fast Ethernet
interface.
Step 11
access-list
access-list-number
{
deny
|
permit
}
source
[
source-wildcard
]
Example:
Router(config)#
access-list 1
permit
192.168.1.0 0.0.0.255
Defines a standard access list indicating which
addresses need translation.
Note
All other addresses are implicitly denied.
Command
Purpose
Содержание 1801
Страница 21: ...P A R T 1 Getting Started ...
Страница 22: ......
Страница 39: ...P A R T 2 Configuring Your Router for Ethernet and DSL Access ...
Страница 40: ......
Страница 119: ...P A R T 3 Configuring Additional Features and Troubleshooting ...
Страница 120: ......
Страница 157: ...P A R T 4 Reference Information ...
Страница 158: ......