170
SQLNET : Enabled
TFTP : Enabled
XDMCP : Enabled
DS-Lite NAT444 configuration example
Network requirements
As shown in
, configure DS-Lite tunneling and NAT to allow the DS-Lite host to access the
IPv4 network over the IPv6 network.
Figure 74 Network diagram
Configuration procedure
Before configuration, make sure the DS-Lite host and AFTR can reach each other through IPv6.
1.
Configure the AFTR:
# Specify an IP address for GigabitEthernet 2/0/1.
<Router> system-view
[Router] interface gigabitethernet 2/0/1
[Router-GigabitEthernet2/0/1] ip address 20.1.1.1 24
[Router-GigabitEthernet2/0/1] quit
# Specify an IP address for GigabitEthernet 2/0/2.
[Router] interface gigabitethernet 2/0/2
[Router-GigabitEthernet2/0/2] ipv6 address 2::2 64
[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