As the widely used of the IPv6, the network is facing the new problems, how to connect the isolated IPv6 sites together over the IPv4 network.
Considering these problems, the IPv6 over IPv4 tunnels are introduced.
The IPv6 over IPv4 tunnels includes four realization modes, manual IPv6 over IPv4 tunnel, automaticac IPv6 over IPv4 tunnel, 6to4 tunnel and ISATAP tunnel.

suppose we are going to connect the two isolated IPv6 sites togother. I’ll introduce three way to do this.
(tips: the connection between G0/0/0 of R1 and G0/0/1 of R2 should be fine)
Manual IPv6 over IPv4 tunnel
R1: # interface Tunnel0/0/1 ipv6 enable ipv6 address 2001::1/64 tunnel-protocol ipv6-ipv4 //assign the tunnel mode to manual IPv6 over IPv4 source GigabitEthernet0/0/0 //assign the outward interface, it could be replaced with the IPv4 address destination 10.1.23.2 //assign the remote IPv4 address #
The corresponding configuration should be enabled on R2.
Manual IPv6 over IPv4 tunnel requires the administrator to assign the remote peer manually.
Automatica IPv6 over IPv4 tunnel:
R1: # interface Tunnel0/0/2 ipv6 enable ipv6 address ::10.1.12.1/96 //the IPv6 address should be the format of ::A.B.C.D, A.B.C.D is the IPv4 address of the source interface. tunnel-protocol ipv6-ipv4 auto-tunnel //assign the tunnel mode to automatica IPv6 over IPv4 source GigabitEthernet0/0/0 //assign the outward interface, it could be replaced with the IPv4 address. #
6to4
Like the automatica IPv6 over IPv4 tunnel, 6to4 is a special automatica IPv6 over IPv4 tunnel.
R1: # interface Tunnel0/0/2 ipv6 enable ipv6 address 2002:A01:D03::1/64 //the IPv6 address should be the format of 2002:A.B.C.D::/64. A.B.C.D is the IPv4 address of the source interface, the last 80 bit of the IPv6 address is assigned by the administrator. tunnel-protocol ipv6-ipv4 6to4 //assign the tunnel mode to 6to4 source GigabitEthernet0/0/0 // assign the outward interface, it could be replaced with the IPv4 address. #



