Configuring A Gre Over Ipv4 Tunnel; Configuration Restrictions And Guidelines; Configuration Prerequisites; Configuration Procedure - HP 10500 Series Configuration Manual

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

Advertisement

Configuring a GRE over IPv4 tunnel

Configuration restrictions and guidelines

The source address or interface and the destination address that are specified for the tunnel
interface must be a public address or interface.
The source address and destination address of a tunnel uniquely identify a path. They must be
configured at both ends of the tunnel and the source address at one end must be the destination
address at the other end and vice versa.
The source addresses, destination addresses, or both source and destination addresses must be
different for the tunnel interfaces using the same encapsulation protocol.
If you configure a source interface for a tunnel interface, the tunnel interface takes the primary IP
address of the source interface as its source address.
When configuring a route through the tunnel, you are not allowed to set up a static route whose
destination address is in the subnet of the tunnel interface. Instead, you can do one of the following:
Configure a static route, using the address of the subnet that 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 IPv4 tunnel:
Step
1.
Enter system view.
2.
Create a tunnel interface and
enter tunnel interface view.
3.
Configure an IPv4 address for
the tunnel interface.
Command
system-view
interface tunnel interface-number
ip address ip-address { mask |
mask-length }
191
Remarks
N/A
By default, a device has no tunnel
interface.
By default, a tunnel interface has
no IPv4 address.

Advertisement

Table of Contents
loading

Table of Contents