191
[Router-GigabitEthernet2/0/2] quit
# Create a tunnel interface on the AFTR.
[Router] interface tunnel 2 mode ds-lite-aftr
# Specify an IP address for the tunnel interface.
[Router-Tunnel2] ip address 30.1.2.2 255.255.255.0
# Specify GigabitEthernet 2/0/2 as the source interface for the tunnel.
[Router-Tunnel2] source gigabitethernet 2/0/2
[Router-Tunnel2] quit
# Enable DS-Lite tunneling on GigabitEthernet 2/0/1.
[Router] interface gigabitethernet 2/0/1
[Router-GigabitEthernet2/0/1] ds-lite enable
[Router-GigabitEthernet2/0/1] quit
# Create public address group 0.
[Router] nat address-group 0
# Add public IP addresses 20.1.1.11 and 20.1.1.12 to the NAT address group.
[Router-address-group-0] address 20.1.1.11 20.1.1.12
# Configure the port range as 1024 to 65535.
[Router-address-group-0] port-range 1024 65535
# Set the port block size to 300.
[Router-address-group-0] port-block block-size 300
[Router-address-group-0] quit
# Configure an IPv6 ACL to identify packets from subnet 1::/64.
[Router] acl ipv6 basic 2100
[Router-acl-ipv4-basic-2100] rule permit source 1::/64
[Router-acl-ipv4-basic-2100] quit
# Configure DS-Lite NAT444 on GigabitEthernet 2/0/1.
[Router] interface gigabitethernet 2/0/1
[Router-GigabitEthernet2/0/1] nat outbound ds-lite-b4 2100 address-group 0
[Router-GigabitEthernet2/0/1] quit
2. Configure the DS-Lite host:
# Configure the IPv4 and IPv6 addresses of the DS-Lite host as 10.0.0.1 and 1::1/64. (Details
not shown.)
# Configure a static route to the destination IPv4 network. (Details not shown.)
Verifying the configuration
# Use the display tunnel interface command to verify that the tunnel interface is up on the AFTR.
(Details not shown.)
# Verify that the DS-Lite host can ping the IPv4 application server.
C:\> ping 20.1.1.2
Pinging 20.1.1.2 with 32 bytes of data:
Reply from 20.1.1.2: bytes=32 time=51ms TTL=255
Reply from 20.1.1.2: bytes=32 time=44ms TTL=255
Reply from 20.1.1.2: bytes=32 time=1ms TTL=255
Reply from 20.1.1.2: bytes=32 time=1ms TTL=255
Ping statistics for 20.1.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 51ms, Average = 24ms