dhcpcd-discuss

dhcpcd kills all connections on Wi-Fi roaming between access points

Boris Krasnovskiy

Sat Dec 05 11:24:53 2020

Hi Roy,



The problem here is 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 a
similar thing, but it is disabled and it is global. I would greatly
appreciate it if you could provide a solution to the problem.

Follow-Ups:
Re: dhcpcd kills all connections on Wi-Fi roaming between access pointsRoy Marples
Re: dhcpcd kills all connections on Wi-Fi roaming between access pointsBoris Krasnovskiy
Archive administrator: postmaster@marples.name