
Network Scenarios Pagina 17 di 35
http://www.cisco.com/univercd/cc/td/doc/product/access/acs_fix/827/827swcfg/ntwkscen.htm 14/02/2001
Step Task Router
Prompt
Command
1 .
Create pool of global IP addresses
for NAT.
Router
(config)#
ip nat pool test
200.200.100.1
200.200.100.1
255.255.255.0
2 .
Define a standard access list
permitting addresses that need
translation.
Router
(config)#
access-list 101 permit ip
192.168.1 0.0.0.0.255 any
log
3 .
Enable dynamic translation of
addresses permitted by access list to
one of addresses specified in pool.
Router
(config)#
ip nat inside source list
101 pool test overload
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 interface.
Router
(config-if)
#
no shutdown
7 .
Exit configuration mode for the
Ethernet interface.
Router
(config-if)
#
exit
8 .
Enter configuration mode for the
ATM interface.
Router
(config)#
interface ATM 0
9 .
Establish the ATM interface as the
outside interface.
Router
(config-if)
#
ip nat outside
10 .
Enable interface and configuration
changes just made to the interface.
Router
(config-if)
#
no shutdown
11 .
Exit configuration mode for the ATM
interface.
Router
(config-if)
#
exit
Comentarios a estos manuales