F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101
130
If the no-pat keyword is specified, dynamic mapping policies are used for NAT-PT. If this keyword is not
specified, the NAPT-PT mechanism is used to translate between IPv4 addresses and IPv6 addresses, and
the end IPv4 address in the address pool is used for NAPT-PT.
Configuring IPv4/IPv6 address mappings on the
IPv4 side
IPv4/IPv6 address mappings on the IPv4 side can be static or dynamic.
Configuring a static mapping on the IPv4 side
A static IPv4/IPv6 address mapping on the IPv4 side shows the one-to-one correspondence between an
IPv4 address and an IPv6 address:
• If the source IPv4 address in a packet sent from an IPv4 host to an IPv6 host matches a static
IPv4/IPv6 address mapping, the source IPv4 address is translated into the corresponding IPv6
address.
• If the destination IPv6 address in a packet sent from an IPv6 host to an IPv4 host matches a static
IPv4/IPv6 address mapping, the destination IPv6 address is translated into the corresponding IPv4
address.
To configure a static IPv4/IPv6 address mapping on the IPv4 side:
Ste
p
Command
1. Enter system view.
system-view
2. Configure a static IPv4/IPv6 address mapping on the
IPv4 side.
natpt v4bound static ipv4-address ipv6-address
Configuring a dynamic mapping policy on the IPv4 side
A dynamic IPv4/IPv6 address mapping policy on the IPv4 side is that if the source IPv4 address matches
a specific ACL, the source IPv4 address is added with a NAT-PT prefix as the translated IPv6 address.
The natpt-prefix argument specified in the natpt v6bound dynamic acl number acl-number prefix
natpt-prefix command must have been configured with the natpt prefix command. For more information
about ACL, see Security Configuration Guide.
To configure a dynamic IPv4/IPv6 mapping policy on the IPv4 side:
Ste
p
Command
1. Enter system view.
system-view
2. Configure a dynamic IPv4/IPv6 source
address mapping policy on the IPv4 side.
natpt v4bound dynamic acl number acl-number prefix
natpt-prefix