DHCP Configuration On Huawei Routers

huawei-dhcp-configuration-example-

DHCP Configuration On Huawei Routers

In this DHCP example we will configure 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 Confiugration 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

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.

We're Sorry!

Full Access is for only IPCisco Crew...

With IPCisco Membership, You Can Access:

• All Certification Courses (Cisco, Juniper, Nokia and Huawei),
• Thousands of Questions (Lesson Quizes and Special Quiz Section),
• Carieer Consultancy, CV/Resume Check, Career Advice Meeting,
• Cheat Sheets, Job Interview Trainings, Network Tools,
You will be Member of a Big IPCisco Community,
You will Learn Network Lessons with Always,
New And Different Learning Styles!
We are waiting for you!

Lesson tags: DHCP, HCNA, Huawei
Back to: HCNA > DHCP and DNS

Comments are closed.




HCNA