264
Step Command
Remarks
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.
Exit 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
, configure a DS-Lite tunnel between Router A and Router B, and configure NAT
on Ethernet 1/1 on the AFTR, so hosts in the private IPv4 network can access the public IPv4 network.
Figure 109
Network diagram
Configuration procedure
Make sure Router A and Router B can reach each other through IPv6.
•
Configure Router A:
# Specify an IPv4 address for Ethernet 1/1.
<RouterA> system-view
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ip address 10.0.0.2 255.255.255.0
[RouterA-Ethernet1/1] quit
# Specify an IPv6 address for Ethernet 1/2, which is the physical interface of the tunnel.
[RouterA] interface ethernet 1/2
Summary of Contents for MSR 2600 Series
Page 6: ...We appreciate your comments...
Page 33: ...18 AC vlan1 quit...
Page 118: ...103...