It is believed that there will be a long transition period from IPv4 to IPv6, so the two protocols must coexist for a period of time. Now let's talk about the dual-protocol stack. IPv4/IPv6 service coexistence technology: used to ensure that the two network protocols can work together on the public internet, during the development of IPv6, these technologies can help IPv6 businesses to work on the existing IPv4 network infrastructure in two main categories: tunneling technology and dual-protocol stack technology. IPv4/IPv6 business interoperability technology mainly includes NAT-PT technology, and SIIT technology is not commonly used) a variety of technologies based on Cisco platform specific configuration is as follows:
I. Tunneling Technology:At the early stage of IPV6 development, it is used to connect IPV6 islands.
Principle: The dual-Stack Router encapsulates IPv6 packets into IPv4 headers and transmits them in an IPv4 network, after arriving at the destination network, the dual-Stack Router will send IPv4 packets to remove the remaining IPv6 packets, which can be transmitted in the IPv6 network, as shown in figure
Configuration example:
Experimental Platform: Cisco 3725 + NM4T serial port module + GT96100-FE Fast Ethernet module
IOS: c3725-adventerprisek9-mz.124-9.T1.bin
Objective: To enable the IPv6 LAN connected to R1 and the IPv6 LAN connected to R3 to communicate through the IPv4 network in the middle
Experiment topology: as shown in Figure
Specific Configuration:
R1 Configuration:
- R1 (config) # ipv6 unicast-routing // You must enable the IPv6 routing function)
- R1 (config) # int fa0/0
- R1 (config-if) # ipv6 address 2000: 1/16
- R1 (config-if) # no shut
- R1 (config-if) # ipv6 rip bjxh en // advertise the interface through the RIP Protocol
- R1 (config) # int s1/0
- R1 (config-if) # ip address 202.106.0.1 255.255.255.0
- R1 (config-if) # no shut
- ---- Basic network configuration ----
- R1 (config-if) # interface tunnel 0
- R1 (config-if) # ipv6 address 2001: 1/16
- R1 (config-if) # no shut
- R1 (config-if) # tunnel source 202.106.0.1 // The tunnel source is the IPv4 address of the local exit
- R1 (config-if) # tunnel destination 202.106.0.2 // the destination of the tunnel is the IPv4 address of the Peer Router
- R1 (config-if) # tunnel mode ipv6ip
- R1 (config-if) # ipv6 rip bjxh en // advertise the tunnel through the RIP Protocol
- ------ Tunnel and route configuration section ------
R2 Configuration:
- R2 (config) # ipv unicast-routing
- R2 (config) # int s1/0
- R2 (config-if) # ip add 202.106.0.2 255.255.255.0
- R2 (config-if) # no shut
- R2 (config-if) # int s1/1
- R2 (config-if) # ip add 202.106.1.1 255.255.255.0
- R2 (config-if) # no shut
- ---- Basic network configuration ----
- R2 (config-if) # int t 0
- R2 (config-if) # ipv add 2001: 2/16
- R2 (config-if) # no shut
- R2 (config-if) # tunnel source 202.106.0.2
- R2 (config-if) # tunnel destination 202.106.0.1
- R2 (config-if) # tunnel mode ipv6ip
- R2 (config-if) # ipv rip bjxh en // advertise the tunnel through the RIP Protocol
- R2 (config-if) # int t 1
- R2 (config-if) # ipv add 2002: 1/16
- R2 (config-if) # no shut
- R2 (config-if) # tunnel source 202.106.1.1
- R2 (config-if) # tunnel destination 202.106.1.2
- R2 (config-if) # tunnel mode ipv6ip // advertise the tunnel through the RIP Protocol
- R2 (config-if) # ipv rip bjxh en
- ------ Tunnel and route configuration section ------