Configuration Example - HP 5920 Series Configuration Manual

Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

If the destination IPv4 network is not on the same subnet as the IPv4 address of the local tunnel
interface, you must configure a route destined for the destination IPv4 network through the tunnel
interface. You can configure a static route, and specify the local tunnel interface as the egress
interface or specify the IPv4 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.
The destination address of the route passing the tunnel interface must not be on the same subnet as
the destination address configured on the tunnel interface.
To configure an IPv4 over IPv4 tunnel:
Step
1.
Enter system view.
2.
Enter IPv4 over IPv4 tunnel
interface view.
3.
Configure an IPv4 address for
the tunnel interface.
4.
Configure a source address or
source interface for the tunnel
interface.
5.
Configure a destination
address for the tunnel
interface.
6.
(Optional.) Set the DF bit for
tunneled packets.

Configuration example

Network requirements
As shown in
IPv4 over IPv4 tunnel between Switch A and Switch B to make the two subnets reachable to each other.
Figure
75, the two subnets Group 1 and Group 2 use private IPv4 addresses. Configure an
Command
system-view
interface tunnel number
[ mode ipv4-ipv4 ]
ip address ip-address { mask
| mask-length } [ sub ]
source { ip-address |
interface-type
interface-number }
destination ip-address
tunnel dfbit enable
168
Remarks
N/A
N/A
By default, no IPv4 address is
configured for the tunnel interface.
By default, no source address or source
interface is configured for the tunnel
interface.
The specified source address or the IPv6
address of the specified source interface
is used as the source IP address of
tunneled packets.
By default, no destination address is
configured for the tunnel interface.
The tunnel destination address must be
the IP address of the receiving interface
on the tunnel peer. It is used as the
destination IP address of tunneled
packets.
The DF bit is not set for tunneled packets
by default.

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents