
Network Scenarios Pagina 12 di 35
http://www.cisco.com/univercd/cc/td/doc/product/access/acs_fix/827/827swcfg/ntwkscen.htm 14/02/2001
Configuring NAT
Follow the steps below to configure NAT, beginning in global configuration mode.
7 .
Exit configuration mode for the ATM
interface.
Router
(config-atm-
vc)#
exit
Step Task Router
Prompt
Command
1 .
Enable dynamic translation of
addresses permitted by the access
list to one of addresses specified in
the ATM interface.
Router
(config)#
ip nat inside source list 1
pool interface ATM0
overload
2 .
Set the IP route to point to the
ATM interface as a default
gateway.
Router
(config)#
ip route 0.0.0.0.0.0.0.0 atm0
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
inside interface.
Router
(config-if)
#
ip nat inside
6 .
Exit configuration mode for the
Ethernet interface.
Router
(config-if)
#
exit
7 .
Enter configuration mode for the
ATM interface.
Router
(config)#
interface atm 0
8 .
Establish the ATM interface as
outside interface.
Router
(config-if)
#
ip nat outside
9 .
Exit configuration mode for the
ATM interface.
Router
(config-if)
#
exit
Komentarze do niniejszej Instrukcji