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

Created Apr 10, 2017 16:49:33Latest reply Jul 11, 2017 23:56:48 813 2 0 0
Configure DHCP server on S series switch based on the global address pool.
  • x
  • convention:

ms.america     Created Apr 10, 2017 17: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 23: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:

Responses

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

Notice:To ensure 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 not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, 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 Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top