![H3C H3C S7500E Series Configuration Examples Download Page 5](http://html1.mh-extra.com/html/h3c/h3c-s7500e-series/h3c-s7500e-series_configuration-examples_3131395005.webp)
3
On the device, a tunneled packet cannot be directly routed based on its destination address. It is sent to
a tunnel-type service loopback group, which then delivers the packet to the forwarding module for Layer
3 forwarding.
Configuration procedures
Make sure the gateways can reach each other at IPv4.
Configuring IPv6 over IPv4 manual tunnels
•
Configure Device A:
# Configure an IP address for VLAN-interface 10.
<DeviceA> system-view
[DeviceA] vlan 10
[DeviceA-vlan10] port GigabitEthernet 1/0/1
[DeviceA-vlan10] quit
[DeviceA] interface vlan-interface 10
[DeviceA-Vlan-interface10] ip address 20.1.1.1 24
[DeviceA-Vlan-interface10] quit
# Configure IP addresses for other interfaces, as shown in
. (Details not shown.)
# Create service loopback group 1, and specify its service type as
tunnel
.
[DeviceA] service-loopback group 1 type tunnel
# Assign GigabitEthernet 1/0/3 to service loopback group 1.
[DeviceA] interface gigabitethernet 1/0/3
[DeviceA-GigabitEthernet1/0/3] port service-loopback group 1
[DeviceA-GigabitEthernet1/0/3] quit
# Configure an IPv6 over IPv4 manual tunnel interface Tunnel 1.
[DeviceA] interface tunnel 1 mode ipv6-ipv4
# Configure an IPv6 address for Tunnel 1.
[DeviceA-Tunnel1] ipv6 address 3001::1/64
# Specify VLAN-interface 10 as the source interface of Tunnel 1.
[DeviceA-Tunnel1] source vlan-interface 10
# Specify the destination address for Tunnel 1.
[DeviceA-Tunnel1] destination 30.1.1.1
[DeviceA-Tunnel1] quit
# Configure an IPv6 over IPv4 manual tunnel interface Tunnel 2.
[DeviceA] interface tunnel 2 mode ipv6-ipv4
# Configure an IPv6 address for Tunnel 2.
[DeviceA-Tunnel2] ipv6 address 4001::1/64
# Specify VLAN-interface 10 as the source interface of Tunnel 2.
[DeviceA-Tunnel2] source Vlan-interface 10
# Specify the destination address for Tunnel 2.
[DeviceA-Tunnel2] destination 40.1.1.1
[DeviceA-Tunnel2] quit