DHCP Configuration On Huawei Routers

  • October 8, 2017
huawei-dhcp-configuration-example-

Huawei DHCP Configuration

  In this DHCP example we will configure, Huawei DHCP, a Huawei Router as a DHCP Server. After the configuration, a host device, here a PC, will receive its IP information from DHCP Server Huawei Router.   For our DHCP configuration example, we will use the topology below:   huawei-dhcp-configuration-example   Let’s firstly talk about the DHCP Configuration steps on the Huawei Router. We will do the below steps one by one:   1.Enabling DHCP 2.DHCP IP Pool Configuration 3.DNS Configuration 4.Interface DHCP Configuration 5.DHCP Verification 6.DHCP Client Configuration  

You can download this configuration on Huawei eNSP Labs Page.


 

Enabling DHCP

  By default, DHCP is not enabled on Huawei Routers. So, the first step of configuring a Huawei Router as DHCP Server is enabling DHCP on the router.   <Huawei-Router>system-view [Huawei-Router] dhcp enable
 
 

DHCP IP Pool Configuration

  Here, we will configure the IP Pool on Huawei Router. Our IP allocations will be done from this IP Pool. Two different IP Pool can be defined :  
  • Interface Pool
  • Global Pool
  In Global IP Pool configuration, firstly, we will configure the IP Pool range. After this we will configure a gateway address. This gateway address is the address of Huawei Router for local network devices. Lastly, we will give a lease time. This lease time is the time limit that DHCP Client can use this IP address.   [Huawei-Router] ip pool OurPool [Huawei-Router-ip-pool-OurPool] network 192.168.0.0 mask 24 [Huawei-Router-ip-pool-OurPool] gateway-list 192.168.0.1 [Huawei-Router-ip-pool-OurPool] lease day 2 day hour 18
 
 
Other DHCP Articles: DHCP Overview DHCP IP Allocation Operation Cisco DHCP Configuration With Packet Tracer Huawei DHCP Configuration  
 

DHCP DNS Configuration

  DNS information is also provided from the DHCP Server. To get this information from DHCP Server, we will configure Huawei Router, with DNS commands.   Here, firstly, we will configure the DNS IP address and then we will exclude this address from the IP Pool.   [sc name=”ContentRMessage”]

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this Huawei FTP Configuration example, we will configure a router as FTP Server and then we will try to...
MSTP is an enchanced STP version. With MSTP, both multiple STP instances can be used and one more VLANs can...
Huawei Router Interface Configuration Huawei Router Interface Configuration is one of the first configuration that Junior Network Engineers learn on...
In this OSPF Configuration Example, we will configure OSPFv2 on Huawei Routers. We will use eNSP for our Huawei OSPFv2...