4-9
Cisco Secure Router 520 Series Software Configuration Guide
OL-14210-01
Chapter 4 Configuring PPP over ATM with NAT
Configuration Example
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 the loopback interface.
For complete information on NAT commands, see the Cisco IOS Release 12.3 documentation set. For
more general information on NAT concepts, see
Appendix B, “Concepts.”
Configuration Example
The following configuration example shows a portion of the configuration file for a client in the PPPoA
scenario described in this chapter.
The VLAN interface has an IP address of 192.168.1.1 with a subnet mask of 255.255.255.0. NAT is
configured for inside and outside.
Note
Commands marked by “
(default)
” are generated automatically when you run the
show running-config
command.
!
interface Vlan1
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly (
default
)
!
interface ATM0
no ip address
ip nat outside
ip virtual-reassembly
no atm ilmi-keepalive
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
dsl operating-mode auto
!
interface Dialer0
ip address negotiated
Step 10
exit
Example:
Router(config-if)#
exit
Router(config)#
Exits configuration mode for the ATM 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 permitting
addresses that need translation.
Note
All other addresses are implicitly denied.
Command
Purpose
Содержание 520 Series
Страница 15: ...xv Cisco Secure Router 520 Series Software Configuration Guide OL 14210 01 Preface ...
Страница 18: ...xviii Cisco Secure Router 520 Series Software Configuration Guide OL 14210 01 Preface ...
Страница 19: ...P A R T 1 Getting Started ...
Страница 20: ......
Страница 33: ...P A R T 2 Configuring Your Router for Ethernet and DSL Access ...
Страница 34: ......
Страница 103: ...P A R T 3 Configuring Additional Features and Troubleshooting ...
Страница 104: ......
Страница 123: ...P A R T 4 Reference Information ...
Страница 124: ......
Страница 142: ...B 10 Cisco Secure Router 520 Series Software Configuration Guide OL 14210 01 Appendix B Concepts Access Lists ...
Страница 162: ...Index IN 8 Cisco Secure Router 520 Series Software Configuration Guide OL 14210 01 ...