NAT Statique


NAT Statique : Translate une adresse IP local (privé) avec toujours la même adresse IP publique globale.

 Règle : 

Router(config)# ip nat inside source static @ip-local @ip-public
à l'interface de réseau locale
Router(config)# interface type numéro
Router(config-if)# ip nat inside 
Router(config-if)# exit 
à l'interface de sortie
Router(config)# interface type numéro
Router(config-if)# ip nat outside 
Router(config-if)# exit

 Exemple :

sur R2

R2(config)# ip nat inside source static 192.168.12.1 2.2.2.10
R2(config)# interface Fa 0/0
R2(config-if)# ip nat inside 
R2(config-if)# exit 
R2(config)# interface L 0
R2(config-if)# ip nat outside 
R2(config-if)# exit



Partager sur: Share Share Share Share