IPv6 Migration: 6to4 Tunnelling.
6to4 tunneling is an integration method where an IPv6 packet is encapsulated within an IPv4. 6to4 is very useful when trafficking IPv6 data over an IPv4 network, it especially works best in WAN settings where a remote network is still running IPv4 protocols.
All you do in this migration type is simply to create or configure a tunnel that will carry IPv6 traffic across an IPv4 network.
Types of 6to4 Tunnelling.
There are several tunneling techniques available, but the most vital of them are the Manual 6to4 tunneling and Dynamic 6to4 tunneling.
Manual IPv6-over-IPv4 tunneling – An IPv6 packet is encapsulated within the IPv4 protocol. This method requires dual-stack routers.
The diagram above shows manually configured ipv6 tunnel. Router R1’s tunnel interface has IPv4 address 192.168.10.1 and IPv6 address 2ffe:db7:E02::1/64.
Router R2’s tunnel interface has IPv4 address 192.168.20.1 and IPv6 address 2ffe:db7:E01::1/64 The two dual-stacked routers, R1 and R2, provide a tunnel for IPv6 over IPv4 packets.
The IPv6 data is encapsulated in an IPv6 header, and the entire IPv6 data and IPv6 header combined are encapsulated in an IPv4 header. To create a tunnel, you require dual-stack configured routers and IPv4 and IPv6 addresses configured at each end.