R2511-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V5)
152
[RouterB-Serial2/0] natpt enable
[RouterB-Serial2/0] quit
[RouterB] interface serial 2/1
[RouterB-Serial2/1] ipv6 address 2001::1/64
[RouterB-Serial2/1] natpt enable
[RouterB-Serial2/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
Using the ping 9.0.0.5 command on Router A can receive responses, and you can view the following
NAT-PT session information on Router B using the display command.
[RouterB] display natpt session all
NATPT Session Info:
No IPV6Source IPV4Source Pro
IPV6Destination IPV4Destination
1 3001::0005 ^ 0 8.0.0.2 ^ 0 ICMP
2001::0002 ^ 0 9.0.0.5 ^ 0
Using the ping ipv6 3001::5 command on Router C can receive response packets, and you can view the
following NAT-PT session information on Router B using the display command.
[RouterB] display natpt session all
NATPT Session Info:
No IPV6Source IPV4Source Pro
IPV6Destination IPV4Destination
1 2001::0002 ^ 0 9.0.0.5 ^ 0 ICMP
3001::0005 ^ 0 8.0.0.2 ^ 0










