6to4 automatic tunneling overview and config-example
13.12 2019 | by massimilianoLe caratteristiche del 6to4 tunneling sono: – Point to Multipoint design; – Connecting between IPv6 hosts throught IPv4 network/cloud […]
https://www.ingegnerianetworking.com/wp-content/uploads/2019/12/6t4-format-215.png
Le caratteristiche del 6to4 tunneling sono:
- – Point to Multipoint design;
- – Connecting between IPv6 hosts throught IPv4 network/cloud NBMA;
- – Tunnel operates per packet-basis to encapsulation to destination address by combining the ipv6 prefix with the globally unique destination 6to4 border routers ipv4 address;
- – Tunnel mode: ipv6ip 6t4;
- – The destinations address are automatically determined;
- – Range IPv6 address: 2002::/16 reserved only for tunneling
ARCHITETTURA DI RIFERIMENTO:
6t4 Config:
R1# (la configurazione di R2 ed R3 è identica cambiando gli indirizzi delle interfacce)
interface fa0/0
descripton subnet-IPv6
no ip address
ipv6 address 2002:c0a8:1::1/64
!
interface gi0/0
description IPv4-address
ip address 192.168.0.1 255.255.255.252
!
ipv6 general-prefix MYIPv6 gigabitethernet 0/0 # se si vuole ottenere in modo automatico un indirizzo ipv6 from ipv4
!
interface tunnel 0
description 6t4-tunnel
no ip address
ipv6 address 2002:c0a8:1::1/64
tunnel source gi0/0
tunnel mode ipv6ip 6to4
!
ipv6 route 2002::/16 tunnel 0 # le destinazioni sono automaticamente determinate