R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide
204
[RouterB-Serial2/2/1] natpt enable
[RouterB-Serial2/2/1] quit
# Configure a NAT-PT prefix.
[RouterB] natpt prefix 3001::
# Configure a static IPv4/IPv6 mapping on the IPv4 side.
[RouterB] natpt v4bound static 9.0.0.2 3001::5
# Configure a static IPv4/IPv6 mapping on the IPv6 side.
[RouterB] natpt v6bound static 2001::2 8.0.0.5
2. Configure Router A:
# Configure a static route to subnet 9.0.0.0/24.
<RouterA> system-view
[RouterA] ip route-static 9.0.0.0 24 8.0.0.1
3. Configure Router C on the IPv6 side:
# Enable IPv6.
<RouterC> system-view
[RouterC] ipv6
# Configure a static route to the subnet with the NAT-PT prefix.
[RouterC] ipv6 route-static 3001:: 16 2001::1
Verifying the configuration
You can receive responses by using the ping 9.0.0.5 command and the ping ipv6 3001::5 command on
Router A and Router C respectively.
Troubleshooting NAT-PT
Symptom
NAT-PT fails when a session is initiated on the IPv6 side.
Solution
1. Enable debugging for NAT-PT and locate the fault according to the debugging information about
the device.
2. During debugging, check whether the source address of a packet is translated successfully. If not,
it is possible that the address pool has no sufficient IP addresses.
3. You can configure a larger address pool, or use NAPT-PT to perform NAT-PT.