EasyManua.ls Logo

Huawei AR150 series - Page 177

Huawei AR150 series
221 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure the DHCP relay function on RouterA. RouterA can forward DHCP packets
between the hosts in Office A and hosts in other network segments.
2. Configure a global address pool 20.20.20.0/24 on RouterB. RouterB can assign IP addresses
in the global address pool to hosts in Office A on a different network segment.
Data Preparation
To complete the configuration, you need the following data:
1. Name of the DHCP server group: dhcpgroup1
2. IP address of the DHCP server: 100.10.10.1
3. VLAN that Office A belongs to: VLAN 100
4. IP address of VLANIF 100: 20.20.20.1
5. Name of the global address pool: pool1
6. Address range of pool1: 20.20.20.0/24
7. IP address of the egress gateway configured for Office A: 20.20.20.1
Procedure
l Configure the DHCP relay function on RouterA.
1. Create a DHCP server group and add a DHCP server to the group.
# Create a DHCP server group.
<Huawei> system-view
[Huawei] sysname RouterA
[RouterA] dhcp server group dhcpgroup1
# Add a DHCP server to the DHCP server group.
[RouterA-dhcp-server-group-dhcpgroup1] dhcp-server 100.10.10.1
[RouterA-dhcp-server-group-dhcpgroup1] quit
2. Enable the DHCP relay function on VLANIF 100.
# Create a VLAN and add Ethernet 2/0/0 to the VLAN.
[RouterA] vlan batch 100
[RouterA] interface ethernet 2/0/0
[RouterA-Ethernet2/0/0] port hybrid pvid vlan 100
[RouterA-Ethernet2/0/0] port hybrid untagged vlan 100
[RouterA-Ethernet2/0/0] quit
# Enable the DHCP function globally and the DHCP relay function on VLANIF 100.
[RouterA] dhcp enable
[RouterA] interface vlanif 100
[RouterA-Vlanif100] dhcp select relay
[RouterA-Vlanif100] quit
3. Bind the DHCP server group to VLANIF 100.
# Configure an IP address for VLANIF 100.
[RouterA] interface vlanif 100
[RouterA-Vlanif100] ip address 20.20.20.1 24
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.
165

Table of Contents

Other manuals for Huawei AR150 series

Related product manuals