Configuring Huawei DHCP
To configure the DHCP server for a PXE boot, follow the steps given below.
- From the DHCP server, execute the System view command.
- Run the DHCP enable command to enable DHCP.
- Then, run the ip-pool-name command to create a global address view.
- Run the gateway-list ip-address command to set an egress gateway address for DHCP clients.
- Run the network ip-address [ mask { mask | mask-length } ] command to specify the range of IP addresses to be allocated to DHCP clients.
- Run the option code [ sub-option sub-code ] { ascii ascii-string | hex hex-string | cipher cipher-string | ip-address ip-address } command to configure DHCP Option 66, 67.
- Now under 66 and 67, configure the settings as follows;
Option |
Configuration |
66 |
IP address of the central server / Distribution server (in case of remote office) |
67 |
ascii boot\\pxeboot.n12 (Legacy) |
67 |
ascii EFI\\Boot\\bootx64.efi (For 64 Bit UEFI) |
67 |
ascii EFI\\Boot\\bootx32.efi (For 32 Bit UEFI) |
- Commit the changes and save.