I need a way to determine the next IP address a DHCP server will offer.
RFC 2131 states:
Each server may respond with a DHCPOFFER message that includes an available network address in the 'yiaddr' field [...].
I found no specification that this must be the next available IP address in the address pool. Do DHCP server implementations state which IP they will offer next? Or is there a way to tell a DHCP Server (for example isc-dhcp-server) which IP to offer next?
I need this information in order to configure tcpdump to capture traffic from/to this specific IP before the device connects to the network.