96
Figure 32 Network diagram
Configuration procedure
1. Configure the IP address and subnet mask for each interface as per Figure 32. (Details not shown.)
2. Configure an IPv4 over IPv4 tunnel:
# Create service loopback group 1 on Switch A and specify its service type as Tunnel.
<SwitchA> system-view
[SwitchA] service-loopback group 1 type tunnel
# Disable STP, LLDP and NDP on interface GigabitEthernet 1/0/3 of Switch A, and add the
interface to service loopback group 1. GigabitEthernet 1/0/3 does not belong to VLAN 100 or
VLAN 101.
[SwitchA] interface gigabitethernet 1/0/3
[SwitchA-GigabitEthernet1/0/3] undo stp enable
[SwitchA-GigabitEthernet1/0/3] undo ndp enable
[SwitchA-GigabitEthernet1/0/3] undo lldp enable
[SwitchA-GigabitEthernet1/0/3] port service-loopback group 1
[SwitchA-GigabitEthernet1/0/3] quit
# Create interface Tunnel 0 on Switch A, assign the IP address and subnet mask to the interface
Tunnel 0, and reference service loopback group 1 on interface Tunnel 0.
[SwitchA] interface tunnel 0
[SwitchA-Tunnel0] ip address 50.1.1.1 24
[SwitchA-Tunnel0] service-loopback-group 1
# Specify the tunnel encapsulation mode as IPv4 over IPv4 and assign the source and destination
addresses to the interface.
[SwitchA-Tunnel0] tunnel-protocol ipv4-ipv4
[SwitchA-Tunnel0] source 20.1.1.1
[SwitchA-Tunnel0] destination 30.1.1.2
[SwitchA-Tunnel0] quit
# Create service loopback group 1 on Switch C and specify its service type as Tunnel.
<SwitchC> system-view
[SwitchC] service-loopback group 1 type tunnel