HPE FlexNetwork HSR6800 Configuration Manual page 431

Comware 7 layer 3, ip services
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

To allow IPv6 hosts on subnet 2013::/96 to access the IPv4 Internet, configure the following AFT
policies on the router:
Configure a NAT64 prefix to translate IPv4 addresses of IPv4 servers to IPv6 addresses.
Configure an IPv6-to-IPv4 source address dynamic translation policy to translate source IPv6
addresses of IPv6-initiated packets to IPv4 addresses in the range of 10.1.1.1 to 10.1.1.3.
Figure 152 Network diagram
2013::100/96
IPv6 host A
2013::101/96
IPv6 host B
2013::102/96
IPv6 host C
Configuration process
# Specify IP addresses for the interfaces on the router. (Details not shown.)
# Create AFT address group 0, and add the address range from 10.1.1.1 to 10.1.1.3 to the group.
<Router> system-view
[Router] aft address-group 0
[Router-aft-address-group-0] address 10.1.1.1 10.1.1.3
[Router-aft-address-group-0] quit
# Configure IPv6 ACL 2000 to permit IPv6 packets only from subnet 2013::/96 to pass through.
[Router] acl ipv6 basic 2000
[Router-acl-ipv6-basic-2000] rule permit source 2013:: 96
[Router-acl-ipv6-basic-2000] rule deny
[Router-acl-ipv6-basic-2000] quit
# Configure the router to translate source IPv6 addresses of packets permitted by IPv6 ACL 2000 to
IPv4 addresses in address group 0.
[Router] aft v6tov4 source acl ipv6 number 2000 address-group 0
# Configure the router to use NAT64 prefix 2012::/96 to translate destination IPv6 addresses of IPv6
packets.
[Router] aft prefix-nat64 2012:: 96
# Enable AFT on GigabitEthernet 2/1/1, which is connected to the IPv6 network.
[Router] interface gigabitethernet 2/1/1
[Router-GigabitEthernet2/1/1] aft enable
[Router-GigabitEthernet2/1/1] quit
# Enable AFT on GigabitEthernet 2/1/2, which is connected to the IPv4 Internet.
[Router] interface gigabitethernet 2/1/2
[Router-GigabitEthernet2/1/2] aft enable
[Router-GigabitEthernet2/1/2] quit
Verifying the configuration
# Verify the connectivity between IPv6 hosts and IPv4 servers. This example pings IPv4 server A
from IPv6 host A.
D:\>ping 2012::20.1.1.1
GE2/1/1
GE2/1/2
Router
418
IPv4
Internet
20.1.1.1/24
IPv4 server A
20.1.1.2/24
IPv4 server B

Advertisement

Table of Contents
loading

Table of Contents