682 CHAPTER 47: NAT-PT C ONFIGURATIONEnabling NAT-PT Follow these steps to enable NAT-PT:Configuring a NAT-PTPrefixA NAT-PT prefix is used for configuring dynamic IPv4-to-IPv6 and IPv6-to-IPv4mappings.You can configure such a dynamic IPv6-to-IPv4 mapping rule as follows:When a packet is sent from an IPv6 network to an IPv4 network, the NAT-PT devicereceiving the packet will detect the prefix of the destination IPv6 address of thepacket. An IPv6-to-IPv4 translation will be performed only when the prefix is thesame as the configured one.For dynamic IPv4-to-IPv6 mappings, if the source IPv4 address complies with thespecified ACL rule, a NAT-PT prefix will be added to translate the source IPv4address into an IPv6 address.Follow these steps to configure a NAT-PT prefix:c CAUTION:■ The NAT-PT prefix must not be the same as the network address of the NAT-PTenabled interface on the IPv6 network.■ To delete a NAT-PT prefix that has been referenced by another command, youneed to cancel the reference configuration first.Configuring Mappingsfor IPv4 Hosts AccessingIPv6 HostsMappings for IPv4 hosts accessing IPv6 hosts refer to the IPv4-to-IPv6 NAT ofpackets. When a packet is sent from an IPv4 network to an IPv6 network, thesource IPv4 address is translated to an IPv6 address in accordance with theconfigured mappings.There are static and dynamic mappings for IPv4 hosts to access IPv6 hosts.■ A static IPv4-to-IPv6 mapping is used to translate a source IPv4 address into acorresponding IPv6 address.■ A dynamic IPv4-to-IPv6 mapping means that if the source IPv4 addresscomplies with the specified ACL rule, a NAT-PT prefix will be added to translatethe source IPv4 address into an IPv6 address.To do... Use the command... RemarksEnter system view system-view -Enter interface view interface interface-typeinterface-number-Enable NAT-PT natpt enable Required.Disabled by defaultTo do... Use the command... RemarksEnter system view system-view -Configure a NAT-PTprefixnatpt prefix natpt-prefix [ interfaceinterface-type interface-number [ nexthopipv4-address ] ]Required