R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide
217
[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::
# Create ACL 3000 to permit IP packets destined to the IPv4 network 6.6.6.0/24, which is
embedded in the IVI address.
[RouterB] acl number 3000
[RouterB-acl-adv-3000] rule permit ip destination 6.6.6.0 0.0.0.255
[RouterB-acl-adv-3000] quit
# Configure the 4to6 AFT policy for destination address translation so that the Router B can
translate the destination address into an IPv6 address by using the IVI prefix (6::) for packets
destined to network 6.6.6.0/24.
[RouterB] aft 4to6 acl number 3000 prefix-ivi 6::
# Create ACL 2000 to permit packets from the IPv4 network 4.4.4.0/24, on which Host C resides
(this step is optional).
[RouterB] acl number 2000
[RouterB-acl-basic-2000] rule permit source 4.4.4.0 0.0.0.255
[RouterB-acl-basic-2000] quit
# Configure the 4to6 AFT policy for source address translation so that the Router B can translate
the source address into an IPv6 address by using the DNS prefix (2000::/32) for packets from
network 4.4.4.0/24 (this step is optional).
[RouterB] aft 4to6 acl number 2000 prefix-dns64 2000:: 32
NOTE:
Configuring the 4to6 AFT policy for source address translation is optional. If the policy is not confi
g
ured,
A
FT uses the first confi
g
ured DNS64 prefix to translate the source IPv4 address into an IPv6 address.
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 IPv6 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
The IPv4 address embedded in the IPv6 address of Host A is 6.6.6.2. Execute the ping 6.6.6.2
command on Host C. The ping operation should be successful.