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

Latest reply: Jul 11, 2017 15:56:48 936 2 0 0
Configure DHCP server on S series switch based on the global address pool.
  • x
  • convention:

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

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.
  • 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.
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice 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."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login