Configuring an IPv6 manual tunnel
Configuration prerequisites
Configure an IP addresses for the interface (such as a VLAN interface, or loopback interface) to be
configured as the source interface of the tunnel interface.
Configuration guidelines
Follow these guidelines when you configure an IPv6 manual tunnel:
After a tunnel interface is deleted, all the features configured on the tunnel interface will be deleted.
•
Specify public addresses or interfaces as the source and destination addresses for the tunnel
•
interfaces.
If the destination IPv6 network is not in the same subnet as the IPv6 address of the tunnel interface,
•
you must configure a static route destined for the destination IPv6 network. You can specify the local
tunnel interface as the output interface of the route or specify the IPv6 address of the peer tunnel
interface as the next hop. Alternatively, you can enable a dynamic routing protocol on both tunnel
interfaces to achieve the same purpose. For the detailed configuration, see Layer 3—IP Routing
Configuration Guide.
Configuration procedure
To configure an IPv6 manual tunnel:
Step
1.
Enter system view.
2.
Enable IPv6.
3.
Enter tunnel interface
view.
4.
Configure an IPv6
address
tunnel interface.
Command
system-view
ipv6
interface tunnel number
•
Configure a global unicast IPv6
address or a site-local address:
ipv6 address { ipv6-address
prefix-length |
ipv6-address/prefix-length }
ipv6 address
ipv6-address/prefix-length
for
the
eui-64
•
Configure a link-local IPv6
address:
ipv6 address auto link-local
ipv6 address ipv6-address
link-local
Remarks
N/A
By default, the IPv6 packet forwarding
function is disabled.
N/A
The link-local IPv6 address configuration
is optional.
By default:
•
•
162
No IPv6 global unicast address or
site-local address is configured for the
tunnel interface.
A link-local address is automatically
created when an IPv6 global unicast
address or site-local address is
configured.