Hello friend,
You can use DHCP emulation function:
In a DHCP emulation test, an access node emulates a DHCP client to apply for an IP address from a DHCP server. By doing so, the access node can test the connectivity between the access node and DHCP server and therefore the validity of DHCP configurations on the DHCP relay agent, DHCP agent, and DHCP server. In addition, the access node can ping a remote server to test the connectivity between them.
you can configuration refer to the prodoct document below:
https://support.huawei.com/hedex/hdx.do?docid=EDOC1000171625&id=feature_3728_2&lang=en any problem can ask me, thanks.