qacafe - ip test solutions
Knowledge Base > Test Coverage > Why do I receive DHCP timeout errors running the scaling tests?

Why do I receive DHCP timeout errors running the scaling tests?

The DHCP client timeout may need to be adjusted when running the DHCP client scaling tests (scaling.tcl). In some cases the Linux host system may be too slow to keep up with the number of DHCP clients and sessions being created by CDRouter. In addition, a large number of clients may slow the DHCP server on the device under test (DUT) and result in timeouts for some DHCP clients.

The default DHCP client timeout is five seconds. As a result, each DHCP client created by CDRouter has five seconds to obtain a lease before the client reverts to sending a DHCPDISCOVER message. This timeout can be adjusted by modifying the testvar dhcpClientTimeout.

For example, to increase the timeout to 15 seconds, make the following change to the CDRouter configuration file:

  testvar dhcpClientTimeout 15