HP VPN Firewall Appliances NAT and ALG Configuration Guide

41
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 Access Control 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
Setting the ToS field after NAT-PT translation
You can set the ToS field in IPv4 packets translated from IPv6 packets to 0 or leave it unchanged. 0
indicates that the service priority of the translated packet is set to the lowest. Unchanged indicates that
the existing service priority is used.
To set the ToS field in packets after NAT-PT translation:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Set the ToS field in IPv4 packets
translated from IPv6 packets to
0.
natpt turn-off tos
By default, the value of the ToS field of IPv4
packets is the same as that of the Traffic
Class field in corresponding IPv6 packets.
Setting the traffic class field after NAT-PT translation
You can set the Traffic Class field in IPv6 packets translated from IPv4 packets to 0 or leave it unchanged.
0 indicates that the service priority of the translated packet is set to the lowest. Unchanged indicates that
the existing service priority is used.
To set the Traffic Class field in packets after NAT-PT translation:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A