.. _example_service_dhcp-server_ranges-advanced: ############### Ranges-Advanced ############### These scenarios check advanced DHCP server range functionality. This includes testing edge cases like range exhaustion, where all available IPs in the range have been assigned, and verifying server behavior in such situations. ********************* Test Range Exhaustion ********************* Description =========== This scenario checks server behavior when all IPs in the range are exhausted. Configure a small range with only 2 IPs (.5 and .6). Two clients should obtain IPs successfully, but a third client should not be able to obtain an IP (range exhausted). Scenario ======== .. include:: ranges-advanced/testrangeexhaustion .. raw:: html
***************************************** Test Client Request When No IPs Available ***************************************** Description =========== This scenario checks that a client cannot obtain an IP when range is exhausted. With a range of only 1 IP, after the first client obtains it, a second client should fail to get an IP. Scenario ======== .. include:: ranges-advanced/testclientrequestwhennoipsavailable .. raw:: html
*************************************** Test Range Recovery After Lease Release *************************************** Description =========== This scenario checks that IPs become available again after release. After exhausting a range, releasing one IP should make it available for a new client. Scenario ======== .. include:: ranges-advanced/testrangerecoveryafterleaserelease .. raw:: html
****************************************** Test Range Exhaustion with Static Mappings ****************************************** Description =========== This scenario checks range exhaustion when static mappings reserve IPs. A static mapping reserves an IP from the range. With a range of 2 IPs where 1 is reserved, only 1 IP is available for dynamic assignment. Scenario ======== .. include:: ranges-advanced/testrangeexhaustionwithstaticmappings .. raw:: html
****************************** Test Range Exhaustion with VRF ****************************** Description =========== This scenario checks that range exhaustion works correctly in VRF context. Scenario ======== .. include:: ranges-advanced/testrangeexhaustionwithvrf .. raw:: html