On 03/31/2016 12:18 PM, Hans Dedecker wrote: > Let DHCP client send a release when it exists so the DHCP server is > informed the IP address is released and allowing to clean up IP/mac > state info in intermediate devices. > > Signed-off-by: Hans Dedecker <[email protected]>
I think in the normal case we should not send a release, so we can get the IP address back later. https://www.ietf.org/rfc/rfc2131.txt says in section 3.2 part 4.: Note that in this case, where the client retains its network address locally, the client will not normally relinquish its lease during a graceful shutdown. Only in the case where the client explicitly needs to relinquish its lease, e.g., the client is about to be moved to a different subnet, will the client send a DHCPRELEASE message. What about making this configurable? Hauke _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
