Configuration Prerequisites; Configuration Procedure - HP 10500 Series Configuration Manual

Layer 3 - ip services
Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

Configure a static route, using the address of the subnet the original packet is destined for as
its destination address and the address of the peer tunnel interface as its next hop.
Enable a dynamic routing protocol on both the tunnel interface and the router interface
connecting the private network, so that the dynamic routing protocol can establish a routing
entry that allows the tunnel to forward packets through the tunnel.

Configuration prerequisites

On each of the peer devices, configure an IP address for the interface to be used as the source
interface of the tunnel interface (for example, a VLAN interface or loopback interface), and make
sure this interface can normally communicate with the interface used as the source interface of the
tunnel interface on the peer device.
Create a service loopback group, specify its service type as tunnel, and add an unused Layer 2
Ethernet port to the service loopback group. For more information about service loopback groups,
see Layer 2—LAN Switching Configuration Guide.

Configuration procedure

To configure a GRE over IPv6 tunnel:
Step
1.
Enter system view.
2.
Enable
forwarding function.
3.
Create a tunnel interface and
enter tunnel interface view.
4.
Configure an IPv4 address for
the tunnel interface.
5.
Set the tunnel mode to GRE
over IPv6.
6.
Configure the source address
or interface for the tunnel
interface.
7.
Configure
address
interface.
8.
Return to system view.
9.
Configure
discard the IPv4-compatible
IPv6 packets.
10.
Configure a route for packet
forwarding
tunnel.
Command
system-view
the
IPv6
packet
ipv6
interface tunnel interface-number
ip address ip-address { mask |
mask-length }
tunnel-protocol gre ipv6
source { ipv6-address |
interface-type interface-number }
the
destination
for
the
tunnel
destination ipv6-address
quit
the
device
to
tunnel discard
ipv4-compatible-packet
See Layer 3—IP Routing
through
the
Configuration Guide.
193
Remarks
N/A
Disabled by default.
By default, there is no tunnel
interface on a device.
By default, no IPv4 address is
configured for a tunnel interface.
The default tunnel mode GRE over
IPv4.
You must configure the same tunnel
mode on both ends of a tunnel.
Otherwise, packet delivery will
fail.
By default, no source address or
interface is configured for a tunnel
interface.
By default, no destination address
is configured for a tunnel interface.
N/A
Optional.
By default, the device does not
discard the IPv4-compatible IPv6
packets.
Each end of the tunnel must have a
route (static or dynamic) through
the tunnel to the other end.

Advertisement

Table of Contents
loading

Table of Contents