Computer NetworksNETWORKS

IPv6 – NAT64 STATEFUL



Neste video demonstro como configurar NAT64 Stateful para que um ambiente puramente IPv6 possa se comunicar com um mundo IPv4 only

O exemplo utilizou dois roteadores com imagens IOL – IOS over Linux, e um roteador CSR-1000v – que é o roteador central onde o NAT64 foi configurado

Para ter acesso ao nosso ambiente de Laboratório EVE-ng e fazer seus próprios experimentos, visite: https://networklabsbrasil.com.br/

Para aprender mais sobre o EVE-ng, faça nosso curso: http://netfindersbrasil.blogspot.com/2017/03/curso-unetlabeve-ng-laboratorios.html

O exemplo de Configuração foi extraido deste site: https://nil.uniza.sk/simple-statefull-nat64-configuration-example/

Segue abaixo a Configuração utilizada:

enable
conf t
hostname v4-Only
int e0/0
ip address 192.168.1.1 255.255.255.0
no shut
exit
ip route 0.0.0.0 0.0.0.0 e0/0 192.168.1.2
end
wr

enable
conf t
hostname NAT64
ipv6 unicast-routing
int gi 1
ip address 192.168.1.2 255.255.255.0
no shut
int gi 2
ipv6 add 2001:FEFE::2/64
ipv6 address FE80::2 link-local
no shut
end
wr

enable
conf t
hostname v6-Only
ipv6 unicast-routing
int e0/0
ipv6 add 2001:FEFE::3/64
ipv6 address FE80::3 link-local
no shut
exit
ipv6 route ::/0 e0/0 2001:FEFE::2
end
wr

!configuration of NAT64/Port NAT64
ena
conf t
int gi 1
! Enables Stateful NAT64 translation
nat64 enable
exit
int gi 2
! Enables Stateful NAT64 translation
nat64 enable
exit
!
! Defines an IPv6 access list, that controlls the translation
ipv6 access-list NAT-64-ACL
permit ipv6 2001:FEFE::/64 2001:db8::/96
!
! define IPv6 prefix used for NAT64 translation purposes
nat64 prefix stateful 2001:db8::/96
!
! define IPv4 address pool used for NAT64 translation purposes
nat64 v4 pool NAT64-POOL 158.193.1.1 158.193.1.10
!
! NAT64 translation
nat64 v6v4 list NAT-64-ACL pool NAT64-POOL
end
wr

source
ipv6

Alice AUSTIN

Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.

Leave a Reply

Your email address will not be published. Required fields are marked *