#
ospf 1
area 0.0.0.0
network 1.1.0.0 0.0.255.255
#
return
Configuration file of RouterB
#
sysname RouterB
#
interface Ethernet 1/0/0
ip address 1.1.1.2 255.255.0.0
#
interface Ethernet 2/0/0
ip address 2.1.1.2 255.255.0.0
#
ospf 1
area 0.0.0.0
network 1.1.0.0 0.0.255.255
network 2.1.0.0 0.0.255.255
#
return
4.7.3 Example for Configuring a DDNS Client
Networking Requirements
As shown in
, the domain name of RouterA is www.abc.com. RouterA obtains an IP
address from the DHCP server; therefore, the IP address may change. In this case, you must
enable the DDNS client function to obtain the latest mapping between the domain name and the
IP address. The DDNS service provider www.oray.com is used as the DDNS server. RouterA
functions as the DDNS client to send a request to the DDNS server when the IP address of
RouterA changes. Then the DDNS server instructs the DNS server to reconfigure the mapping
between the domain name and the IP address.
NOTE
AR150/200 is RouterA.
Figure 4-3
Network diagram
Loopback0
4.1.1.1/32
Loopback0
4.1.1.2/32
Eth1/0/0
1.1.1.2/16
1.1.1.1/16
2.1.1.1/16
2.1.1.2/16
3.1.1.1/16
RouterA
RouterB
RouterC
2.1.1.3/16
DNS Server
3.1.1.2/16
DDNS Client
Eth2/0/0
Eth2/0/0
DDNS Server
Eth1/0/0
Eth1/0/0
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service
4 DNS Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
100