Figure 6-8 Networking diagram for configuring DHCP and BOOTP clients
RouterC RouterB
RouterA
Gateway
10.1.1.126/24
10.1.1.1/24
Eth1/0/0
Eth1/0/0 Eth1/0/0
DNS Server
10.1.1.2/24
DHCP Server DHCP Client
BOOTP Client
Configuration Roadmap
The configuration roadmap is as follows:
1. Enable the DHCP client function on Router A.
2. Enable the BOOTP client function on Router B.
3. Create a global address pool on Router C and configure related attributes.
Data Preparation
To complete the configuration, you need the following data:
1. MAC address of Eth 1/0/0 on Router B: a234-e211-a256
2. IP address of Eth1/0/0 on Router C: 10.1.1.1
3. IP address of the egress gateway configured for the DHCP client: 10.1.1.126
4. IP address of the DNS server connected to the DHCP client: 10.1.1.2
Procedure
l Configure the DHCP client function on Router A.
# Enable the DHCP service.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] dhcp enable
# Enable the DHCP client function on Eth 1/0/0.
[RouterA] interface ethernet 1/0/0
[RouterA-Ethernet1/0/0] ip address dhcp-alloc
l Configure the BOOTP client function on Router B.
# Enable the DHCP service.
<Huawei> system-view
[Huawei] sysname RouterB
[RouterB] dhcp enable
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service 6 DHCP Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
168