Configuration Example - HP 6125XLG Configuration Manual

Blade switch layer 3 - ip services
Table of Contents

Advertisement

Step
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 76 Network diagram
Configuration procedure
Make sure Switch A and Switch B have the corresponding VLAN interfaces created and can reach each
other through IPv4.
Configure Switch A:
# Specify an IPv4 address for VLAN-interface 100.
<SwitchA> system-view
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] ip address 10.1.1.1 255.255.255.0
[SwitchA-Vlan-interface100] quit
# Specify an IPv4 address for VLAN-interface 101, which is the physical interface of the tunnel.
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] ip address 2.1.1.1 255.255.255.0
[SwitchA-Vlan-interface101] quit
# Create service loopback group 1 and specify its service type as tunnel.
[SwitchA] service-loopback group 1 type tunnel
# Assign Ten-GigabitEthernet 1/1/5 to service loopback group 1.
[SwitchA] interface Ten-GigabitEthernet 1/1/5
[SwitchA-Ten-GigabitEthernet1/1/5] port service-loopback group 1
[SwitchA-Ten-GigabitEthernet1/1/5] quit
Figure
76, the two subnets Group 1 and Group 2 use private IPv4 addresses. Configure an
Command
destination ip-address
tunnel dfbit enable
174
Remarks
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

Table of Contents