Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service
----End
Configuration Files
Configuration file of RouterA
#
sysname RouterA
#
ip host DeviceB 4.1.1.1
ip host DeviceC 4.1.1.2
#
dns resolve
dns server 3.1.1.2
dns domain net
dns domain com
#
interface Ethernet 1/0/0
ip address 1.1.1.2 255.255.0.0
#
ospf 1
area 0.0.0.0
network 1.1.0.0 0.0.255.255
#
return
Configuration file of RouterB
#
sysname RouterB
#
interface LoopBack0
ip address 4.1.1.1 255.255.255.255
#
interface Ethernet 1/0/0
ip address 1.1.1.1 255.255.0.0
#
interface Ethernet 2/0/0
ip address 2.1.1.1 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
network 4.1.1.1 0.0.0.0
#
return
Configuration file of RouterC
#
sysname RouterC
#
interface LoopBack0
ip address 4.1.1.2 255.255.255.255
#
interface Ethernet 1/0/0
ip address 3.1.1.1 255.255.0.0
#
interface Ethernet 2/0/0
ip address 2.1.1.2 255.255.0.0
Issue 02 (2012-03-30)
NOTE
The TTL field in the command output indicates the time left before a DNS entry is aged out, in seconds.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 DNS Configuration
97