F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101

131
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
2. Set the Traffic Class field
in IPv6 packets translated
from IPv4 packets to 0.
natpt turn-off traffic-class
By default, the value of the Traffic Class
field of IPv6 packets is the same as that of
the ToS field in corresponding IPv4
packets.
Configuring static NAPT-PT mappings of IPv6
servers
Generally, a server such as the FTP server, Web server, or Telnet server on an IPv6 network provides
services for IPv6 hosts only. To allow IPv4 hosts to access the IPv6 server, you can specify a static NAPT-PT
mapping between the IPv6 address plus the port number and the IPv4 address plus the port number of
the IPv6 server.
Upon receiving an access request to an IPv6 server from an IPv4 host, the NAT-PT device checks the
destination address and port number of the packet against the static address/port mapping of the IPv6
server. If they match, the device translates the source IPv4 address of the packet into the corresponding
IPv6 address according to the IPv4/IPv6 address mapping on the IPv4 side, and translates the
destination IPv4 address and port number in the request to the corresponding IPv6 address and port
number according to the static address/port mapping of the IPv6 server.
When you configure a static address/port mapping of an IPv6 server, specify the following:
Protocol type—The type of the transport layer protocol used by the server. It can be TCP or UDP.
IPv4 address and port number of the server—Used by IPv4 hosts to access the server.