IPv6 over IPv4 automatic tunnel configuration

0

To configure an IPv6 over IPv4 automatic tunnel, perform the following steps:
1. Run the system-view command to enter the system view.
2. Run the interface tunnel interface-number command to create a tunnel interface and enter the tunnel interface view.
3. Run the tunnel-protocol ipv6-ipv4 auto-tunnel command to set the tunnel encapsulation type to automatic tunnel.
4. Run the source { ipv4-address | interface-type interface-number } command to specify the source address or source interface of the automatic tunnel.
Note:
?You can directly specify the IPv4 address of the interface used to connect to the IPv4 network as the source address or specify this interface as the source interface.
?You can specify a physical port or a logical interface such as the Loopback interface as the source interface of the tunnel.
?Source addresses or source interfaces of different IPv6 over IPv4 automatic tunnels must be different.
5. Run the ipv6 enable command to enable the IPv6 function on the tunnel interface.
6. Run the ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length } command to set the tunnel interface address to an IPv6 address that is compatible with IPv4.
The IPv6 address configured for the tunnel interface must be compatible with IPv4; that is, the most significant 96 bits are 0s, and the least significant 32 bits are the source address of the automatic tunnel or the IPv4 address of the source interface. The format is ::ipv4-address. As shown in Figure 1, the source address of the automatic tunnel of FW_A is 1.1.1.1/24, and the IPv6 address of the tunnel interface is ::1.1.1.1/96.

Other related questions:
IPv6 over IPv4 GRE tunnel configuration
To configure an IPv6 over IPv4 GRE tunnel, perform the following steps: 1. Run the system-view command to enter the system view. 2. Run the interface tunnel interface-number command to create a tunnel interface and enter the tunnel interface view. 3. Run the tunnel-protocol gre command to set the tunnel encapsulation type to GRE tunnel. 4. Run the source { ipv4-address | interface-type interface-number } command to specify the source address or source interface of the GRE tunnel. Note: ?You can directly specify the IPv4 address of the interface used to connect to the IPv4 network as the source address or specify this interface as the source interface. ?You can specify a physical port or a logical interface such as the Loopback interface as the source interface of the tunnel. 5. Run the destination ipv4-address command to specify the destination address or domain name of the GRE tunnel. The destination address is the source address of the peer device. As shown in Figure 1, the destination address of FW_A is 1.1.2.1/24, while the destination address of FW_B is 1.1.1.1/24. 6. Run the ipv6 enable command to enable the IPv6 function on the tunnel interface. 7. Run the ipv6 address { ipv6-address prefix-length | ipv6-address/prefix-length } command to configure the IPv6 address for the tunnel interface. 8. (Optional) Run the gre key key-number command to set the keyword in the GRE packet header. You can set the same key-number on both ends of the tunnel or do not set the key-number.

What are limitations and precautions for IPv6 over IPv4 tunnels.
Limitations and precautions for IPv6 over IPv4 tunnels are as follows: -Dynamic routing protocols supported by IPv6 over IPv4 manual tunnels are RIPng, OSPFv3, and BGP4+. -Dynamic routing protocols supported by IPv6 over IPv4 GRE tunnels are RIPng, OSPFv3, and BGP4+. -Dynamic routing protocol supported by IPv6 over IPv4 automatic tunnels is BGP4+. -Dynamic routing protocol supported by 6to4 tunnels is BGP4+. -Dynamic routing protocol supported by 6RD tunnels is BGP4+. -Dynamic routing protocol supported by ISATAP tunnels is BGP4+.

IPv6 over IPv4 tunnels supported by the USG6000 series
The USG6000 series supports the following IPv6 over IPv4 tunnels: IPv6 over IPv4 manual tunnels IPv6 over IPv4 GRE tunnels IPv6 over IPv4 automatic tunnels 6to4 tunnels 6RD tunnels ISATAP channels

IPv6 over IPv4 tunnels supported by the USG2000 and USG5000 series
The USG2000 series supports the following IPv6 over IPv4 tunnels: IPv6 over IPv4 manual tunnels IPv6 over IPv4 GRE tunnels IPv6 over IPv4 automatic tunnels 6to4 tunnels 6RD tunnels ISATAP channels

Method used to configure IPv6 over IPv4 manual tunnels on the USG2000 and USG5000 series
On the USG2000 and USG5000 series, configure the IPv6 over IPv4 manual tunnel as follows: USG_A and USG_B are boundary devices on the IPv6 and IPv4 networks. The IPv4 address of interface GigabitEthernet 1/0/1 connecting USG_A to the IPv4 network is 1.1.1.1/24, and the IPv6 address of the interface connecting USG_A to the IPv6 network is 2011::1/64. The IPv4 address of interface GigabitEthernet 1/0/1 connecting USG_B to the IPv4 network is 1.1.1.2/24, and the IPv6 address of the interface connecting USG_B to the IPv6 network is 3011::1/64. An IPv6 over IPv4 manual tunnel is established between USG_A and USG_B. 1. Configure the tunnel encapsulation type, source address, destination address, and IPv6 address of the tunnel interface of USG_A. system-view [USG] sysname USG_A [USG_A] ipv6 [USG_A] interface tunnel 1 [USG_A-Tunnel1] tunnel-protocol ipv6-ipv4 [USG_A-Tunnel1] ipv6 enable [USG_A-Tunnel1] source 1.1.1.1 [USG_A-Tunnel1] destination 1.1.1.2 [USG_B-Tunnel1] ipv6 address 3001::1 64 2. Configure the route connecting USG_B to the IPv6 network. [USG_A] ipv6 route-static 3011:: 64 tunnel 1 3. Configure the tunnel encapsulation type, source address, destination address, and IPv6 address of the tunnel interface of USG_B. system-view [USG] sysname USG_B [USG_B] ipv6 [USG_B] interface tunnel 1 [USG_B-Tunnel1] tunnel-protocol ipv6-ipv4 [USG_B-Tunnel1] ipv6 enable [USG_B-Tunnel1] source 1.1.1.2 [USG_B-Tunnel1] destination 1.1.1.1 [USG_B-Tunnel1] ipv6 address 3001::2 64 4. Configure the route connecting USG_A to the IPv6 network. [USG_B] ipv6 route-static 2011:: 64 tunnel 1

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top