R0106-HP MSR Router Series Layer 3 - IP Services Configuration Guide(V7)

291
The source addresses of local tunnels of the same tunnel mode cannot be the same.
Enable NAT on the interface that connects to the public IPv4 interface.
The tunnel destination cannot be configured on the AFTR. The AFTR uses the address of the B4
router as the IPv6 address of the tunnel destination.
It is not necessary to configure a route to the destination IPv4 address for forwarding packets
through the tunnel interface.
This section only covers the AFTR configuration. For information about B4 router configuration, see
"Configuring an IPv4 over IPv6 manual tunnel."
To co
nfigure the AFTR of a DS-Lite tunnel:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter the view of the tunnel
interface on the AFTR.
interface tunnel number [ mode
ds-lite-aftr ]
N/A
3. Specify an IPv4 address for
the tunnel interface.
ip address ip-address { mask |
mask-length } [ sub ]
By default, no IPv4 address is specified
for the tunnel interface.
4. Specify the source address
or source interface for the
tunnel.
source { ipv6-address |
interface-type interface-number }
By default, no source address or
interface is specified for the tunnel.
If you specify a source address, it is
used as the source address of the
encapsulated IPv6 packets.
If you specify a source interface, the
address of this interface is used as the
source address of the encapsulated
IPv6 packets.
5. Return to system view.
quit N/A
6. Enter the view of the
interface that connects the
IPv4 public network.
interface interface-type
interface-number
N/A
7. Enable DS-Lite tunneling on
the interface.
ds-lite enable
By default, DS-Lite tunneling is
disabled.
Only after you use this command, the
AFTR can tunnel IPv4 packets from the
public IPv4 network to the B4 router.
Configuration example
Network requirements
As shown in Figure 118, configure a DS-Lite tunnel between Router A and Router B, and configure NAT
on GigabitEthernet 2/1/1 on the AFTR, so hosts in the private IPv4 network can access the public IPv4
network.