Details
Description
DHCP/BOOTP state machine transitions to state "BOUND" despite of obtaining an invalid gateway address from the DHCP server.
The gateway address is not configured to be in the same subnet. Therefore, the DHCP/BOOTP state machine should rather send a DECLINE message (in case of DHCP) and transition to state "INIT" again in order to start over.
In the current implementation it transitions to state "BOUND" and while applying the the IP parameters the invalid gateway address is detected and the DHCP/BOOTP state machine transitions to state "STOP", which in turn leads to sending a DHCP Release frame on the network (in case of DHCP).
This behavior is not completely incorrect when looking at the RFCs dealing with DHCP. However, the behavior is not the common way to reject an invalid DHCP server configuration.