22nd January 2022

DHCP Configuration on Huawei Switch

In this article, I will briefly show how to activate Dhcp on our Huawei device.  After connecting to the CLI via console,  we type the commands below. These settings will be active on Vlan 1 (Default).  Our device will start with 192.168.0.1  and distribute IP addresses within the range allowed by our /16 subnet mask. We have a large pool of IP addresses 65534. If you want to shrink the range you can change IP block.

Huawei Switch
Huawei Switch

 

Static IP

If you want to assign a static IP for your servers or special devices (fax, printer, etc.), you can do this with the command below.

DNS address

In addition, if you want to assign a DNS address from DHCP you can do with the command below.

 

LEARN MORE  Restarting, Starting, Stopping, Checking the Status of the Network Service in Linux

Leave a Reply

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