Got it

Configure DHCP server on S series switch based on the global address pool

Latest reply: Jul 11, 2017 15:56:48 1100 2 0 0

Hello all,

How to configure a DHCP server for the global address pool on an S series switch.

Does anyone know the reason? Thanks!

  • x
  • convention:

ms.america
Created Apr 10, 2017 09:01:31 Helpful(0) Helpful(0)

Hi@Weenie_D,

For S series switches (except S1700 switches), after a DHCP server based on the global address pool is configured, that is, an IP address pool is created in the system view, IP addresses in the address pool can be allocated to DHCP clients connected to all interfaces.

This configuration mode applies to scenarios where the DHCP server and clients are on different network segments and a DHCP relay exists. In addition, this configuration mode is used to allocate IP addresses to DHCP clients connected to multiple interfaces when the DHCP server and clients are on the same network segment. The configurations are as follows:

[HUAWEI] dhcp enable //Enable the DHCP function.
[HUAWEI] ip pool pool1 //Configure a global address pool.
[HUAWEI-ip-pool-pool1] network 10.1.1.0 mask 255.255.255.0 //Configure an IP address range that can be dynamically allocated.
[HUAWEI-ip-pool-pool1] gateway-list 10.1.1.1 //Configure an IP address for the gateway.
[HUAWEI-ip-pool-pool1] dns-list 114.114.114.114 //Configure the IP address of the DNS server for DHCP clients.
[HUAWEI-ip-pool-pool1] quit
[HUAWEI] interface vlanif 100 //Create an interface connecting the DHCP server to the DHCP clients.
[HUAWEI-Vlanif100] ip address 10.1.1.1 255.255.255.0 //This IP address must be on the same network segment as the IP address pool.
[HUAWEI-Vlanif100] dhcp select global //Enable the DHCP server function to assign IP addresses to clients from the global address pool.

Glad to help you! Any further questions, let us know.

View more
  • x
  • convention:

victor_sva70
Created Jul 11, 2017 15:56:48 Helpful(0) Helpful(0)

This configuration works on a S2700-9TP-PWR-EI ?, I do not recognize the ip pool command, what am I doing wrong ?, thanks, regards.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."

My Followers

Login and enjoy all the member benefits

Login

Huawei Enterprise Support Community
Huawei Enterprise Support Community
Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.