459
Source IP/port: 2013:0:FF14:0101:0100::/0
Destination IP/port: 2012::0A01:0101/33024
VPN instance/VLAN ID/Inline ID: -/-/-
Protocol: IPV6-ICMP(58)
Inbound interface: GigabitEthernet2/0/2
State: ICMPV6_REPLY
Application: OTHER
Start time: 2014-03-13 08:52:59 TTL: 23s
Initiator->Responder: 4 packets 320 bytes
Responder->Initiator: 4 packets 320 bytes
Total sessions found: 1
Providing FTP service from an IPv4 network to the IPv6
Internet
Network requirements
As shown in Figure 165, a company deploys an IPv4 network, and it has an IPv6 address 2012::1.
The Internet migrates to IPv6.
To allow the IPv4 FTP server to provide FTP services to IPv6 hosts, configure the following AFT
policies on the router:
• Configure an IPv4-to-IPv6 source address static mapping for the IPv4 FTP server. The router
uses the mapping to translate the destination IPv6 address of IPv6-initiated addresses to the
IPv4 address.
• Configure an IPv6-to-IPv4 source address dynamic translation policy. The router translates
source IPv6 addresses of IPv6-initiated packets to source IPv4 addresses 30.1.1.1 and
30.1.1.2.
Figure 165 Network diagram
Configuration procedure
# Specify IP addresses for the interfaces on the router. (Details not shown.)
# Map source IPv4 address 20.1.1.1 to source IPv6 address 2012::1.
<Router> system-view
[Router] aft v4tov6 source 20.1.1.1 2012::1
# Configure address group 0, and add the address range from 30.1.1.1 to 30.1.1.2 to the group.
[Router] aft address-group 0
[Router-aft-address-group-0] address 30.1.1.1 30.1.1.2