Come configurare il NAT dinamico su un router Cisco
- Aggiunto il:
- Mercoledì 04 Febbraio 2009
- Ultima modifica:
- Domenica 27 Settembre 2009
Risposta
Il NAT ( Network Address Translation ) dinamico traduce gli indirizzi IP privati appartenenti alla rete interna in indirizzi pubblici compresi in un range ( pool ) di IP assegnati da un ISP.

In questo esempio il range di indirizzi pubblici che ci appartengono è 213.18.123.0/24. Ogni host interno che accede a internet sarà traslato dal router NAT nel primo IP pubblico disponibile all'interno del range pubblico (pool). Ad esempio l'host 192.168.32.10 della rete interna viene traslato nell'IP pubblico 213.18.123.116.
Configurazione:
Router(config)# interface ethernet 0
Router(config-if )# ip address 192.168.32.1 255.255.255.0
Router(config-if )# ip nat inside
Router(config)# interface serial 0
Router(config-if )# ip address 100.100.100.1 255.255.255.252
Router(config-if )# ip nat outside
Router(config)# ip nat pool dynamicpool 213.18.123.0 213.18.123.255 prefix-length 24
Router(config)# ip nat inside source list 1 pool dynamicpool
Router(config)# access-list 1 permit 192.168.32.0 0.0.0.255
Tags di questa voce
- 12 items are tagged with 802.11
- 2 items are tagged with 802.1x
- 6 items are tagged with Apple
- 2 items are tagged with ATA
- 7 items are tagged with autenticazione
- 2 items are tagged with CCIE
- 105 items are tagged with Cisco
- 68 items are tagged with configurazione
- 4 items are tagged with CUE
- 1 items are tagged with Domotica
- 3 items are tagged with firewall
- 29 items are tagged with generale
- 1 items are tagged with GRE
- 1 items are tagged with iPad
- 1 items are tagged with iPhone
- 2 items are tagged with NAT
- 1 items are tagged with PAT
- 4 items are tagged with QOS
- 7 items are tagged with reset
- 28 items are tagged with sicurezza
- 3 items are tagged with switch
- 15 items are tagged with Telefonia
- 16 items are tagged with uc500
- 2 items are tagged with vmware
- 52 items are tagged with VoIP




