![](//vs1.manuzoid.com/store/data-gzf/f0401c1760710f4033075554801dcb06/2/001790353.htmlex.zip/bg6.jpg)
4
• Configure Device B:
# Configure an IP address for VLAN-interface 10.
<DeviceB> system-view
[DeviceB] vlan 10
[DeviceB-vlan10] port GigabitEthernet 1/0/1
[DeviceB-vlan10] quit
[DeviceB] interface vlan-interface 10
[DeviceB-Vlan-interface10] ip address 30.1.1.1 24
[DeviceB-Vlan-interface10] quit
# Configure IP addresses for other interfaces, as shown in Figure 1. (Details not shown.)
# Create service loopback group 1, and specify its service type as tunnel.
[DeviceB] service-loopback group 1 type tunnel
# Assign GigabitEthernet 1/0/3 to service loopback group 1.
[DeviceB] interface gigabitethernet 1/0/3
[DeviceB-GigabitEthernet1/0/3] port service-loopback group 1
[DeviceB-GigabitEthernet1/0/3] quit
# Configure an IPv6 over IPv4 manual tunnel interface Tunnel 1.
[DeviceB] interface tunnel 1 mode ipv6-ipv4
# Configure an IPv6 address for Tunnel 1.
[DeviceB-Tunnel1] ipv6 address 3001::2/64
# Specify VLAN-interface 10 as the source interface of Tunnel 1.
[DeviceB-Tunnel1] source vlan-interface 10
# Specify the destination address for Tunnel 1.
[DeviceB-Tunnel1] destination 20.1.1.1
[DeviceB-Tunnel1] quit
• Configure Device C:
# Configure an IP address for VLAN-interface 10.
<DeviceC> system-view
[DeviceC] vlan 10
[DeviceC-vlan10] port gigabitEthernet 1/0/1
[DeviceC-vlan10] quit
[DeviceC] interface vlan-interface 10
[DeviceC-Vlan-interface10] ip address 40.1.1.1 24
[DeviceC-Vlan-interface10] quit
# Configure IP addresses for other interfaces, as shown in Figure 1. (Details not shown.)
# Create service loopback group 1, and specify its service type as tunnel.
[DeviceC] service-loopback group 1 type tunnel
# Assign GigabitEthernet 1/0/3 to service loopback group 1.
[DeviceC] interface gigabitethernet 1/0/3
[DeviceC-GigabitEthernet1/0/3] port service-loopback group 1
[DeviceC-GigabitEthernet1/0/3] quit
# Configure an IPv6 over IPv4 manual tunnel interface Tunnel 2.
[DeviceC] interface tunnel 2 mode ipv6-ipv4
# Configure an IPv6 address for Tunnel 2.
[DeviceC-Tunnel2] ipv6 address 4001::2/64