320
• Configure Router A:
# Specify an IPv4 address for GigabitEthernet 2/0/2.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/0/2
[RouterA-GigabitEthernet2/0/2] ip address 192.168.100.1 255.255.255.0
[RouterA-GigabitEthernet2/0/2] quit
# Specify an IPv6 address for GigabitEthernet 2/0/1.
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] ipv6 address 3002::1 64
[RouterA-GigabitEthernet2/0/1] quit
# Create the IPv6 over IPv4 manual tunnel interface Tunnel 0.
[RouterA] interface tunnel 0 mode ipv6-ipv4
# Specify an IPv6 address for the tunnel interface.
[RouterA-Tunnel0] ipv6 address 3001::1/64
# Specify GigabitEthernet 2/0/2 as the source interface of the tunnel interface.
[RouterA-Tunnel0] source gigabitethernet 2/0/2
# Specify the destination address for the tunnel interface as the IP address of GigabitEthernet
2/0/2 on Router B.
[RouterA-Tunnel0] destination 192.168.50.1
[RouterA-Tunnel0] quit
# Configure a static route destined for IPv6 network 2 through Tunnel 0.
[RouterA] ipv6 route-static 3003:: 64 tunnel 0
• Configure Router B:
# Specify an IPv4 address for GigabitEthernet 2/0/2.
<RouterB> system-view
[RouterB] interface gigabitethernet 2/0/2
[RouterB-GigabitEthernet2/0/2] ip address 192.168.50.1 255.255.255.0
[RouterB-GigabitEthernet2/0/2] quit
# Specify an IPv6 address for GigabitEthernet 2/0/1.
[RouterB] interface gigabitethernet 2/0/1
[RouterB-GigabitEthernet2/0/1] ipv6 address 3003::1 64
[RouterB-GigabitEthernet2/0/1] quit
# Create the IPv6 over IPv4 manual tunnel interface Tunnel 0.
[RouterB] interface tunnel 0 mode ipv6-ipv4
# Specify an IPv6 address for the tunnel interface.
[RouterB-Tunnel0] ipv6 address 3001::2/64
# Specify GigabitEthernet 2/0/2 as the source interface of the tunnel interface.
[RouterB-Tunnel0] source gigabitethernet 2/0/2
# Specify the destination address for the tunnel interface as the IP address of GigabitEthernet
2/0/2 on Router A.
[RouterB-Tunnel0] destination 192.168.50.1
[RouterB-Tunnel0] quit
# Configure a static route destined for IPv6 network 1 through Tunnel 0.
[RouterB] ipv6 route-static 3002:: 64 tunnel 0
Verifying the configuration
# Use the display ipv6 interface command to display tunnel interface status on Router A and
Router B. Verify that the interface tunnel 0 is up. (Details not shown.)