R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide
199
Ste
p
Command
Remarks
3. Configure a dynamic
IPv4/IPv6 address
mapping policy on
the IPv6 side.
• Associate an IPv6 ACL with an address
pool:
natpt v6bound dynamic acl6 number
acl-number address-group
address-group [ no-pat ]
• Associate an IPv6 ACL with an interface
address:
natpt v6bound dynamic acl6 number
acl-number interface interface-type
interface-number
• Associate a NAT-PT prefix with an
address pool:
natpt v6bound dynamic prefix
natpt-prefix address-group
address-group [ no-pat ]
• Associate a NAT-PT prefix with an
interface address:
natpt v6bound dynamic prefix
natpt-prefix interface interface-type
interface-number
Use one of the commands.
• If the source IPv6 address of an
IPv6 packet matches the
specified IPv6 ACL, the source
IPv6 address will be translated
into an IPv4 address of the
specified address pool or
interface.
• If the destination IPv6 address
of an IPv6 packet matches the
specified NAT-PT prefix, the
source IPv6 address will be
translated into an IPv4 address
of the specified address pool or
interface.
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