dhcpcpd kills all connections on Wi-Fi roaming between access points
Boris Krasnovskiy
Fri Dec 04 23:55:00 2020
Hi Roy,
The problem here that dhcpcd destroys routes on CARRIER up/down events, that maybe correct for the Ethernet. For Wi-FI though Carrier Up/Down events generated on roaming from one access point to the other even on the same network, destroying routes during roaming is very bad as it is destroying all the TCP connections. The desired behavior is to preserve routes on carrier up/down for Wi-Fi connections, but issue RENEW/REQUEST on carrier up.
I noticed NOCARRIER_PRESERVE_IP setting in the code that seems to do similar thing, but it is disabled and it is global. I would greatly appreciate if you could provide solution to the problem.
Thank you,
Boris Krasnovskiy
Archive administrator: postmaster@marples.name