Example For Configuring A Dhcp Relay Agent - Huawei S9300 Configuration Manual

Terabit routing switch
Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - IP Service
dhcp server nbns-list 10.1.1.3
dhcp server lease day 30 hour 0 minute 0
dhcp server domain-name huawei.com
#
interface Vlanif11
ip address 10.1.2.1 255.255.255.0
dhcp select interface
dhcp server lease day 20 hour 0 minute 0
#
interface GigabitEthernet1/0/1
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
interface GigabitEthernet1/0/2
port hybrid pvid vlan 11
port hybrid untagged vlan 11
#
return

3.7.3 Example for Configuring a DHCP Relay Agent

When the DHCP server and DHCP clients are in different network segments, a DHCP relay
agent is required.
Networking Requirements
An enterprise has multiple offices, which are distributed in different office buildings. The offices
in a building belong to the same local area network (LAN), and the DHCP server of the enterprise
belongs to a different network than the offices. The enterprise uses a DHCP server to allocate
IP addresses to all clients.
As shown in
DHCP server is in the network segment 100.10.10.0/24. A Switch enabled with DHCP relay is
required between the clients and server. By using the DHCP relay agent, the DHCP clients can
obtain IP addresses from the DHCP server.
The DHCP server and the clients are in different network segments, and an interface-based
address pool cannot allocate IP addresses to the clients in different network segments. A global
address pool in the network segment 20.20.20.0/24 is required, and the DHCP server must have
a reachable route to the network segment 20.20.20.0/24.
Issue 01 (2012-03-15)
Figure
3-8, the DHCP clients are in the network segment 20.20.20.0/24 and the
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 DHCP Configuration
79

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents