R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide

215
Figure 90 An IPv6 host with an IVI address initiates communication with an IPv4 host
Configuration consideration
The IPv6 address of Host A is an IVI address. For Host A to communicate with Host C, enable AFT, and
configure DNS64 and IVI prefixes on Router B.
Configuration procedure
1. Configure Router B (the AFT):
# Enable IPv6.
<RouterB> system-view
[RouterB] ipv6
# Configure IP addresses for the interfaces GigabitEthernet 3/0/1 and GigabitEthernet 3/0/2,
and enable AFT on the interfaces.
[RouterB] interface gigabitethernet 3/0/1
[RouterB-GigabitEthernet3/0/1] ipv6 address 6:0:ff06:606:100::/64
[RouterB-GigabitEthernet3/0/1] aft enable
[RouterB-GigabitEthernet3/0/1] quit
[RouterB] interface gigabitethernet 3/0/2
[RouterB-GigabitEthernet3/0/2] ip address 4.4.4.1 24
[RouterB-GigabitEthernet3/0/2] aft enable
[RouterB-GigabitEthernet3/0/2] quit
# Configure the DNS64 prefix.
[RouterB] aft prefix-dns64 2000:: 32
# Configure the IVI prefix.
[RouterB] aft prefix-ivi 6::
2. Configure Host A:
Perform the following configurations on Host A. (Details not shown.)
{ Configure IPv6 address 6:0:ff06:606:200::/64.
{ Configure a static route to network 2000::/32 (the DNS64 prefix) and the next hop address
6:0:ff06:606:100::.
3. Configure Host C:
Perform the following configurations on Host C. (Details not shown.)
{ Configure IPv4 address 4.4.4.2/24.
{ Configure a static route to the IPv4 network (6.6.6.0/24) embedded in the IVI address and the
next hop address 4.4.4.1.
Verifying the configuration
Host C's IPv4 address 4.4.4.2 is translated to 2000:0:404:402:: by using the DNS64 prefix. Execute
the ping ipv6 2000:0:404:402:: command on Host A. The ping operation should be successful.