Example For Configuring A Dhcp Server Based On An Interface Address Pool In The Scenario Where Dhcp Clients And The Server Are On The Same Network Segment - 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
#
vlan batch 10 20
#
dhcp enable
#
ip pool pool1
ip pool pool2
#
ip pool pool1
gateway-list 10.1.1.1
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 pool2
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 Ethernet 0/0/0
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
interface Ethernet 0/0/1
port hybrid pvid vlan 20
port hybrid untagged vlan 20
#
return
6.9.2 Example for Configuring a DHCP Server Based on an Interface
Address Pool in the Scenario Where DHCP Clients and the Server
Are on the Same Network Segment
This section describes how to configure a DHCP server based on an interface address pool. After
the configuration is complete, the clients can obtain IP address from the server that is on the
network of the DHCP client.
Networking Requirements
As shown in
save resources, all hosts in the two offices are assigned IP addresses by the Router that functions
as a DHCP server.
Office 1 belongs to the network segment 10.1.1.0/24, and all hosts in Office 1 are added to VLAN
10. These hosts use the DNS and NetBIOS services. Office 2 belongs to the network segment
10.1.2.0/24, and all host in Office 2 are added to VLAN 20. These hosts do not use DNS and
NetBIOS services.
An interface address pool needs to be configured on the Router. In addition, IP addresses need
to be dynamically assigned to the hosts in the two offices.
Issue 02 (2012-03-30)
Figure
6-6, the two offices of a company are deployed on the same network. To
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 DHCP Configuration
160

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar200 seriesAr3200 series

Table of Contents