
Network Scenarios Pagina 9 di 35
http://www.cisco.com/univercd/cc/td/doc/product/access/acs_fix/827/827swcfg/ntwkscen.htm 14/02/2001
Configuration Example
In the following configuration example, you do not have to enter the commands marked "default." These
commands appear automatically in the configuration file generated when you use the show running-
config command.
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
no ip directed-broadcast (default)
ip nat inside
!
interface ATM0
no ip address
no ip directed-broadcast (default)
ip nat outside
no atm ilmi-keepalive (default)
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
bundle-enable
!
interface Dialer0
ip address negotiated
no ip directed-broadcast (default)
ip nat outside
encapsulation ppp
dialer pool 1
!
ip nat inside source list 1 interface Dialer0 overload
ip classless (default)
2 .
Set the ip route to point to the dialer
interface as a default gateway.
Router
(config)#
ip route 0.0.0.0.0.0.0.0
dialer
3 .
Define a standard access list permitting
addresses that need translation.
Router
(config)#
access-list 1 permit
192.168.1 0 0.0.0.255
4 .
Enter configuration mode for the
Ethernet interface.
Router
(config)#
interface ethernet 0
5 .
Establish the Ethernet interface as the
inside interface.
Router
(config-if)
#
ip nat inside
6 .
Enable interface and configuration
changes just made to the Ethernet
interface.
Router
(config-if)
#
no shutdown
7 .
Exit configuration mode for the Ethernet
interface.
Router
(config-if)
#
exit
Comentarios a estos manuales