Nat - cisco
De Wiki doc
Topologie
Mettre un schéma avec 4 machines (1 PC - 1 RT - 1RT - 1PC)
NAT statique
Routeur 1
Configuration IP
en conf t int fa 0/0 ip address 192.168.1.254 255.255.255.0 no shut exit int fa 0/1 ip address 1.1.1.1 255.255.255.252 no shut exit
Configuration NAT
int fa 0/0 ip nat inside exit int fa 0/1 ip nat outside exit ip nat inside source static 192.168.1.1 8.8.8.1
Routeur 2
Configuration IP
en conf t int fa 0/0 ip address 192.168.2.254 255.255.255.0 no shut exit int fa 0/1 ip address 1.1.1.2 255.255.255.252 no shut exit
Configuration NAT
int fa 0/0 ip nat inside exit int fa 0/1 ip nat outside exit ip nat inside source static 192.168.2.1 9.9.9.1