Example For Configuring The Dhcp Server Based On The Interface Address Pool - Huawei S9300 Configuration Manual

Terabit routing switch
Table of Contents

Advertisement

S9300&S9300E Terabit Routing Switch
Configuration Guide - IP Service
----End
Configuration Files
Configuration file of the SwitchA
#
sysname Quidway
#
vlan batch 10 20
#
dhcp enable
#
ip pool 1
ip pool 2
#
ip pool 1
gateway-list 10.1.1.126
network 10.1.1.0 mask 255.255.255.128
excluded-ip-address 10.1.1.2
excluded-ip-address 10.1.1.4
dns-list 10.1.1.2
lease day 10 hour 0 minute 0
#
ip pool 2
gateway-list 10.1.1.254
network 10.1.1.128 mask 255.255.255.128
dns-list 10.1.1.2
nbns-list 10.1.1.4
lease day 2 hour 0 minute 0
#
interface Vlanif10
ip address 10.1.1.1 255.255.255.128
dhcp select global
#
interface Vlanif20
ip address 10.1.1.129 255.255.255.128
dhcp select global
#
interface GigabitEthernet1/0/1
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
interface GigabitEthernet1/0/2
port hybrid pvid vlan 20
port hybrid untagged vlan 20
#
return
3.7.2 Example for Configuring the DHCP Server Based on the
Interface Address Pool
A DHCP server can allocate IP addresses for the clients in the same network segment by using
an interface address pool.
Networking Requirements
A campus has two equipment rooms, which are in different network segments. A switch needs
to be configured as a DHCP server to allocate IP addresses for the computers in the two
equipment rooms.
Issue 01 (2012-03-15)
Total
:250
Used
:0
Expired
:0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Idle
:248
Conflict
:0
3 DHCP Configuration
Disable
:2
75

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9300e

Table of Contents