[RouterA] interface loopback 0
[RouterA-LoopBack0] ip address 6.6.6.6 32
[RouterA-LoopBack0] quit
# Configure OSPF.
[RouterA] ospf
[RouterA-ospf-1] area 0
[RouterA-ospf-1-area-0.0.0.0] network 6.6.6.6 0.0.0.0
[RouterA-ospf-1-area-0.0.0.0] quit
[RouterA-ospf-1] quit
# Configure Tunnel0/0/1 to borrow the IP address of Loopback0.
[RouterA] interface tunnel 0/0/1
[RouterA-Tunnel0/0/1] ip address unnumbered interface loopback 0
[RouterA-Tunnel0/0/1] quit
Step 2 Configure RouterC.
The configuration of RouterC is similar to that of RouterA, and is not mentioned here.
Step 3 Verify the configuration.
# Check the configuration on Tunnel0/0/1 of RouterA.
<RouterA> display ip interface Tunnel 0/0/1
Tunnel0/0/1 current state : UP
Line protocol current state : DOWN
The Maximum Transmit Unit : 1500 bytes
input packets : 0, bytes : 0, multicasts : 0
output packets : 0, bytes : 0, multicasts : 0
Directed-broadcast packets:
received packets: 0, sent packets: 0
forwarded packets: 0, dropped packets: 0
Internet Address is unnumbered, using address of LoopBack0(6.6.6.6/32)
Broadcast address : 6.6.6.6
TTL being 1 packet number: 0
TTL invalid packet number: 0
ICMP packet input number: 0
Echo reply: 0
Unreachable: 0
Source quench: 0
Routing redirect: 0
Echo request: 0
Router advert: 0
Router solicit: 0
Time exceed: 0
IP header bad: 0
Timestamp request: 0
Timestamp reply: 0
Information request: 0
Information reply: 0
Netmask request: 0
Netmask reply: 0
Unknown type: 0
----End
Configuration Files
l Configuration file of RouterA
#
sysname RouterA
#
interface LoopBack0
ip address 6.6.6.6 255.255.225.255
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.
48