Preferiti Creare un documento PDF E-mail Stampare

Come configurare il NAT statico su un router Cisco

Autore:
Paola Costetti
Aggiunto il:
Mercoledì 04 Febbraio 2009
Ultima modifica:
Venerdì 20 Febbraio 2009
Clics:
4747
Votazione:
 
Vota per:
Buono - Pessimo
Preferito:
0 Preferiti

Risposta

La forma statica del NAT (Network Address Translation) crea una mappatura permanente uno a uno tra gli indirizzi IP privati e quelli pubblici. E' particolarmente utile nel caso in cui un host interno debba essere raggiungibile dalla rete pubblica ad esempio per fornire l'accesso ai server pubblici di una società come ad esempio Web server,Email server...

Nell'esempio sopra riportato l'host interno 192.168.32.10 verrà sempre traslato nell'IP pubblico 213.18.123.110. Gli host dalla rete esterna saranno in grado di raggiungere direttamente gli host interni attraverso il loro IP pubblico.

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 inside source static 192.168.32.10 213.18.123.110
Router(config)# ip nat inside source static 192.168.32.12 213.18.123.111
Router(config)# ip nat inside source static 192.168.32.15 213.18.123.112

 

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