Prerequisite – Differences between IPv4 and IPv6 Show
In the current scenario, the IPv4 address is exhausted and IPv6 had come to overcome the limit. Various organization is currently working with IPv4 technology and in one day we can’t switch directly from IPv4 to IPv6. Instead of only using IPv6, we use combination of both and transition means not replacing IPv4 but co-existing of both. When we want to send a request from an IPv4 address to an IPv6 address, but it isn’t possible because IPv4 and IPv6 transition is not compatible. For a solution to this problem, we use some technologies. These technologies are Dual Stack Routers, Tunneling, and NAT Protocol Translation. These are explained as following below. 1. Dual-Stack Routers: In this above diagram, A given server with both IPv4 and IPv6 addresses configured can communicate with all hosts of IPv4 and IPv6 via dual-stack router (DSR). The dual stack router (DSR) gives the path for all the hosts to communicate with the server without changing their IP addresses. 2. Tunneling: In this above diagram, the different IP versions such as IPv4 and IPv6 are present. The IPv4 networks can communicate with the transit or intermediate network on IPv6 with the help of the Tunnel. It’s also possible that the IPv6 network can also communicate with IPv4 networks with the help of a Tunnel. 3. NAT Protocol Translation: Generally, an IP version doesn’t understand the address of different IP version, for the solution of this problem we use NAT-PT device which removes the header of first (sender) IP version address and add the second (receiver) IP version address so that the Receiver IP version address understand that the request is sent by the same IP version, and its vice-versa is also possible. In the
above diagram, an IPv4 address communicates with the IPv6 address via a NAT-PT device to communicate easily. In this situation, the IPv6 address understands that the request is sent by the same IP version (IPv6) and it responds. Configuring an IPv4 over IPv6 TunnelAn IPv4 over IPv6 tunnel functions as a permanent link that connects two IPv4 domains through the IPv6 backbone network. It is a fixed channel for regular and secure communication between border devices. An IPv4 over IPv6 tunnel is a point-to-point tunnel. The source and destination IPv6 addresses of the tunnel interfaces are manually specified, and must be unique on the same device.
Usage ScenarioTo enable IPv4 networks to communicate with each other through an IPv6 network, configure an IPv4 over IPv6 tunnel on the devices where IPv4 networks border an IPv6 network. On the network shown in Figure 7-1, an IPv4 over IPv6 tunnel can be established between two edge devices to provide stable connection for isolated Pv4 networks or between a terminal and an edge device to allow the terminal to access the remote IPv4 network. You can configure multiple IPv4 over IPv6 tunnels on an edge router for communicating with multiple IPv6 networks. Figure 7-1 Networking diagram of an IPv4 over IPv6 tunnel Pre-configuration TasksBefore configuring an IPv4 over IPv6 tunnel, connect interfaces and configure IPv6 addresses for the interfaces so that the route between the interfaces is reachable. Configuration ProceduresFigure 7-2 Flowchart for configuring an IPv4 over IPv6 tunnel
Configuring a Source Interface for an IPv4 over IPv6 TunnelYou can only specify a loopback interface as the source interface for an IPv4 over IPv6 tunnel interface and use it to communicate with other devices because a loopback interface stays in the Up state after being created. Procedure
Configuring an IPv4 over IPv6 Tunnel InterfaceThis section describes how to create an IPv4 over IPv6 tunnel interface to implement communication between IPv4 networks using the tunneling technology. ContextAn IPv4 over IPv6 tunnel is established on the tunnel interfaces at both ends. Therefore, you need to configure a tunnel interface on the device at each end of the tunnel. You must specify the protocol type, source IPv6 address or source interface, and destination IPv6 address for an IPv4 over IPv6 tunnel interface. A tunnel interface is a logical interface and its status is Down in the following situations:
Perform the following steps on the devices at both ends of a tunnel: Procedure
Configuring IPv4 over IPv6 Tunnel RoutesThe other configurations of an IPv4 over IPv6 tunnel include the number of times that IPv6 encapsulation is performed for an IPv4 packet, traffic flag, maximum hops, and traffic class. Procedure
(Optional) Configuring Other Parameters of an IPv4 over IPv6 TunnelThis section describes how to configure an IPv6 packet header for an IPv4 packet so that the packet can be transmitted over an IPv4 over IPv6 tunnel. Procedure
Checking the ConfigurationsAfter configuring an IPv4 over IPv6 tunnel, you can check the status of the tunnel interfaces and routing information. PrerequisitesAll configurations of an IPv4 over IPv6 tunnel are complete. Procedure
ExampleAfter completing the configuration, run the display interface tunnel command on both ends of a tunnel. The command output shows that the status of the tunnel interface is Up. <HUAWEI> display interface Tunnel1
Tunnel1 current state : UP (ifindex: 24)
Line protocol current state : UP
Last line protocol up time : 2017-08-03 08:52:51
Description:
Route Port,The Maximum Transmit Unit is 1460
Internet Address is 192.168.1.2/24
Encapsulation is TUNNEL, loopback not set
Tunnel protocol/transport (IPv6 or IPv4) over IPv6
Tunnel Source 2001:DB8:300::2 (LoopBack1)
Tunnel Destination 2001:DB8:200::1
Tunnel Encapsulation limit 4
Tunnel Traffic class not set
Tunnel Flow label not set
Tunnel Hop limit 64 Run the ping { -a source-ip-address dest-ip-address | -vpn-instance vpn-instance-name } command. The command output shows that the local tunnel interface can ping the destination tunnel interface. <HUAWEI> ping 192.168.1.1
PING 192.168.1.1: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.1: bytes=56 Sequence=1 ttl=255 time=21 ms
Reply from 192.168.1.1: bytes=56 Sequence=2 ttl=255 time=3 ms
Reply from 192.168.1.1: bytes=56 Sequence=3 ttl=255 time=2 ms
Reply from 192.168.1.1: bytes=56 Sequence=4 ttl=255 time=3 ms
Reply from 192.168.1.1: bytes=56 Sequence=5 ttl=255 time=3 ms
--- 192.168.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 2/6/21 ms
Which two technologies are used for Internet Protocol IPv6 traffic to travel on an IPv4 network?Networking. How do I tunnel IPv6 over IPv4?How to Configure IPv6 Over IPv4 Tunnels. Become superuser.. Create the file /etc/hostname6. ip. tun n . Use the values 0, 1, 2, and so on, for n . Then, add entries by following these steps. Add the tunnel source addresses. Then, add the tunnel destination addresses. tsrc IPv4-source-addr tdst IPv4-destination-addr up.. Which technique can you use to route IPv6 traffic over an IPv4 infrastructure?Tunneling can be used to carry IPv6 traffic by encapsulating it in IPv4 packets and tunneling it over the IPv4 routing infrastructure.
Which are tunnels used to transmit IPv6 address information over IPv4?The ISATAP tunnel is mainly used for communication between IPv6 routers or between a host and an IPv6 router over an IPv4 network.
|