Context
As shown in Figure 2-2, Tunnel0/0/1 of RouterA connects to RouterC by a tunnel. Tunnel0/0/1
of RouterA and Tunnel0/0/1 of RouterC are seldom used. To save IP addresses, Tunnel0/0/1 of
RouterA is required to borrow the IP address of Loopback0 on RouterA, and Tunnel0/0/1 of
RouterC is required to borrow the IP address of Loopback0 on RouterC.
Figure 2-2 Network diagram of IP address unnumbered
L
o
o
p
B
a
c
k
0
9
.
9
.
9
.
9
/
3
2
RouterB
RouterA RouterC
Tunnel
PC 1 PC 2
L
o
o
p
B
a
c
k
0
6
.
6
.
6
.
6
/
3
2
Tunnel 0/0/1
Tunnel 0/0/1
Configuration Roadmap
The configuration roadmap is as follows:
l Configure IP addresses for Loopback0 interfaces on RouterA and RouterC.
l Configure OSPF.
l On RouterA, configure Tunnel0/0/1 to borrow the IP address of Loopback0.
l On RouterC, configure Tunnel0/0/1 to borrow the IP address of Loopback0.
Data Preparation
To complete the configuration, you need the following data:
l IP address of Loopback0 on RouterA
l IP address of Loopback0 on RouterC
NOTE
This example provides only the configurations of IP address unnumbered.
Procedure
Step 1 Configure RouterA.
# Configure an IP address for Loopback0.
<Huawei> system-view
[Huawei] sysname RouterA
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service 2 IP Address Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
47