Cisco 4G-LTE-ANTM-O-3 Instalační příručka Strana 347

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 444
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 346
SUMMARY STEPS
1.
ip nat pool name start-ip end-ip {netmask netmask | prefix-length prefix-length}
2.
Do one of the following:
ip nat inside source {list access-list-number} {interface type number | pool name} [overload]
Example 1:
Router(config)# ip nat inside source list 1 interface dialer
0 overload
Example 2:
Router(config)# ip nat inside source list acl1 pool pool1
3.
interface type number
4.
ip nat {inside | outside}
5.
no shutdown
6.
exit
7.
interface type number
8.
ip nat {inside | outside}
9.
no shutdown
10.
exit
11.
access-list access-list-number {deny | permit} source [source-wildcard]
DETAILED STEPS
PurposeCommand or Action
Creates pool of global IP addresses for NAT.
ip nat pool name start-ip end-ip {netmask netmask |
prefix-length prefix-length}
Step 1
Example:
Router(config)# ip nat pool pool1 192.168.1.0
192.168.2.0 netmask 255.255.255.0
Enables dynamic translation of addresses on the inside
interface.
Do one of the following:
Step 2
ip nat inside source {list access-list-number}
{interface type number | pool name} [overload]
The first example shows the addresses permitted by the access
list 1 to be translated to one of the addresses specified in the
dialer interface 0 .
Example 1:
Router(config)# ip nat inside source list
1 interface dialer
0 overload
The second example shows the addresses permitted by access
list acl1 to be translated to one of the addresses specified in
the NAT pool pool1 .
Example 2:
Router(config)# ip nat inside source list
acl1 pool pool1
Cisco 800 Series Integrated Services Routers Software Configuration Guide
OL-31704-02 319
Configuring PPP over ATM with NAT
Configure Network Address Translation
Zobrazit stránku 346
1 2 ... 342 343 344 345 346 347 348 349 350 351 352 ... 443 444

Komentáře k této Příručce

Žádné komentáře