AFT uses an IVI prefix for IPv6-to-IPv4 source address translation. If a source IPv6 address matches
the IVI prefix, AFT translates it to the embedded IPv4 address.
AFT internal server
AFT internal server creates a mapping between an IPv4 address and port number to the IPv6
address and port number of an IPv6 internal server. It allows the IPv6 internal server to provide
services to IPv4 hosts.
AFT translation process
The address translation differs for IPv6-initiated communication and IPv4-initiated communication.
For IPv6-initiated communication
As shown in
follows:
1.
Upon receiving a packet from the IPv6 host, AFT compares the packet with IPv6-to-IPv4
destination address translation policies.
If a matching policy is found, AFT translates the destination IPv6 address according to the
policy.
If no matching policy is found, AFT does not process the packet.
2.
AFT performs the pre-lookup to determine the output interface for the translated packet. PBR is
not used for the pre-lookup.
If a matching route is found, the process goes to step 3.
If no matching route is found, AFT discards the packet.
3.
AFT compares the source IPv6 address of the packet with IPv6-to-IPv4 source address
translation policies.
If a matching policy is found, AFT translates the source IPv6 address according to the
policy.
If no matching policy is found, AFT discards the packet.
4.
AFT forwards the translated packet and records the mappings between IPv6 addresses and
IPv4 addresses.
5.
AFT translates the IPv4 addresses in the response packet header to IPv6 addresses based on
the address mappings before packet forwarding.
For more information about IPv6-to-IPv4 destination address translation policies, see
an IPv6-to-IPv4 destination address translation
For more information about IPv6-to-IPv4 source address translation policies, see
IPv6-to-IPv4 source address translation
Figure
158, when the IPv6 host initiates the access to the IPv4 host, AFT operates as
policy".
policy".
431
"Configuring
"Configuring an