Configuring An Interface To Function As A Dhcp Relay Agent - Huawei AR150 series Configuration Manual

Hide thumbs Also See for AR150 series:
Table of Contents

Advertisement

Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service

6.5.2 Configuring an Interface to Function as a DHCP Relay Agent

This section describes how to configure an interface to function as a DHCP relay agent. After
the configuration, the interface enabled with the DHCP relay function can forward the client's
request to the DHCP though the client and the server are on different network segments.
Context
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
dhcp enable
The DHCP function is enabled.
Step 3 Run:
interface interface-type interface-number
The interface view is displayed.
On the AR150/200, a Layer 3 Ethernet interface or its sub-interface, a Layer 3 Eth-trunk interface
or its sub-interface, or a VLANIF interface can be configured to function as a DHCP relay agent.
Step 4 Run:
ip address ip-address { mask | mask-length }
An IP address is configured for the interface.
Step 5 Run:
dhcp select relay
The DHCP relay function is enabled on the interface.
----End
Follow-up Procedure
When the AR150/200 functions as a DHCP relay agent, it can forward the client's DHCP requests
to the DHCP server. Configure the IP address of the DHCP server on the interface that has been
enabled with the DHCP relay function. The AR150/200 supports the following methods by
which the IP address of the DHCP server is specified on the interface that functions as a DHCP
relay agent:
Issue 02 (2012-03-30)
NOTE
A DHCP packet can be relayed for a maximum of 16 times from a DHCP client to a DHCP server. A DHCP
packet that has been relayed more than 16 times is dropped.
A super VLAN interface that has been enabled with the DHCP relay function cannot be enabled with the
DHCP snooping function.
NOTE
The IP address of the egress gateway that is configured in the IP address pool of the server must be consistent
with the IP address of the DHCP relay.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 DHCP Configuration
146

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar200 seriesAr3200 series

Table of Contents